forked from reactstrap/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBreadcrumbsPage.js
More file actions
40 lines (37 loc) · 1.18 KB
/
Copy pathBreadcrumbsPage.js
File metadata and controls
40 lines (37 loc) · 1.18 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
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
import React from 'react';
import { PrismCode } from 'react-prism';
import Helmet from 'react-helmet';
import BreadcrumbExample from '../examples/Breadcrumb';
const BreadcrumbExampleSource = require('!!raw!../examples/Breadcrumb');
import BreadcrumbNoListExample from '../examples/BreadcrumbNoList';
const BreadcrumbNoListExampleSource = require('!!raw!../examples/BreadcrumbNoList');
export default class BreadcrumbsPage extends React.Component {
render() {
return (
<div>
<Helmet title="Breadcrumbs" />
<h3>Breadcrumbs</h3>
<div className="docs-example">
<BreadcrumbExample />
</div>
<pre>
<PrismCode className="language-jsx">
{BreadcrumbExampleSource}
</PrismCode>
</pre>
<h3>No list</h3>
<hr />
<p>Breadcrumbs can work without the usage of list markup.</p>
<div className="docs-example">
<BreadcrumbNoListExample />
</div>
<pre>
<PrismCode className="language-jsx">
{BreadcrumbNoListExampleSource}
</PrismCode>
</pre>
</div>
);
}
}