-
Notifications
You must be signed in to change notification settings - Fork 191
/
Copy pathexamples.js
34 lines (31 loc) · 2.5 KB
/
examples.js
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
import { DocSectionCode } from '../common/docsectioncode';
import { DocSectionText } from '../common/docsectiontext';
export function ExamplesDoc(props) {
const code = `<div class="flex align-items-center justify-content-center">
<div class="cursor-auto flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">auto</div>
<div class="cursor-pointer flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">pointer</div>
<div class="cursor-wait flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">wait</div>
<div class="cursor-move flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">move</div>
<div className="cursor-help flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">help</div>
<div className="cursor-zoom-out flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">zoom out</div>
<div className="cursor-not-allowed flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">not allowed</div>
</div>
`;
return (
<>
<DocSectionText {...props}></DocSectionText>
<div className="card">
<div className="flex align-items-center justify-content-center">
<div className="cursor-auto flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">auto</div>
<div className="cursor-pointer flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">pointer</div>
<div className="cursor-wait flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">wait</div>
<div className="cursor-move flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">move</div>
<div className="cursor-help flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">help</div>
<div className="cursor-zoom-out flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">zoom out</div>
<div className="cursor-not-allowed flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">not allowed</div>
</div>
</div>
<DocSectionCode code={code} />
</>
);
}