forked from auth0/styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.js
More file actions
41 lines (39 loc) · 1.08 KB
/
Copy pathexamples.js
File metadata and controls
41 lines (39 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* eslint-disable jsx-a11y/href-no-hash */
import React from 'react';
import EmptyState from './';
// Showcase component differents usecases
const examples = [
{
component: (
<EmptyState
title="Roles"
description=" Create and manage Roles (collection of permissions) for your applications which can then be added to groups."
iconCode="291"
>
<a href="#" className="btn btn-transparent"> Read more </a>
<button className="btn btn-success">
<i className="icon icon-budicon-473" /> Create your first role
</button>
</EmptyState>
),
code: (
`
<EmptyState
title="Roles"
description="
Create and manage Roles (collection of permissions)
for your applications which can then be added to groups."
iconCode="291"
>
<a href="#" className="btn btn-transparent"> Read more </a>
<button className="btn btn-success">
<i className="icon icon-budicon-473" /> Create your first role
</button>
</EmptyState>`
),
title: 'Default',
showTitle: false,
url: 'default'
}
];
export default examples;