blob: 34c66a964428268ff1865b6311f35981385760ba (
plain)
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
|
import React from 'react';
import { Helmet } from 'react-helmet';
import brand from 'ba-api/brand';
import { SourceReader, PapperBlock } from 'ba-components';
import { CommonDividers, SpecialDividers } from './demos';
class Dividers extends React.Component {
render() {
const title = brand.name + ' - UI Elements';
const description = brand.desc;
const docSrc = 'containers/UiElements/demos/Dividers/';
return (
<div>
<Helmet>
<title>{title}</title>
<meta name="description" content={description} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
</Helmet>
<PapperBlock title="Common Dividers" desc="Some variant divider style base on hr tag">
<div>
<CommonDividers />
<SourceReader componentName={docSrc + 'CommonDividers.js'} />
</div>
</PapperBlock>
<PapperBlock title="Special Dividers" desc="Sometime the divider is more than a line. With this You can add text or decoration at the edges">
<div>
<SpecialDividers />
<SourceReader componentName={docSrc + 'SpecialDividers.js'} />
</div>
</PapperBlock>
</div>
);
}
}
export default Dividers;
|