1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 10:46:13 +02:00
Files
csslayout/patterns/wizard/Cover.tsx
Phuoc Nguyen 37a6729d08 feat: Chip
2022-09-21 08:55:08 +07:00

113 lines
4.1 KiB
TypeScript

import * as React from 'react';
import Frame from '../../placeholders/Frame';
import Line from '../../placeholders/Line';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
height: '100%',
justifyContent: 'center',
padding: '8px',
}}
>
<div style={{ display: 'flex', width: '100%' }}>
<div
style={{
alignItems: 'center',
display: 'flex',
flex: 1,
justifyContent: 'center',
}}
>
<div style={{ flex: 1 }} />
<div
style={{
alignItems: 'center',
backgroundColor: '#d1d5db',
borderRadius: '9999px',
color: '#FFF',
display: 'flex',
fontSize: '12px',
height: '16px',
justifyContent: 'center',
width: '16px',
}}
>
1
</div>
<div style={{ flex: 1 }}>
<Line />
</div>
</div>
<div
style={{
alignItems: 'center',
display: 'flex',
flex: 1,
justifyContent: 'center',
}}
>
<div style={{ flex: 1 }}>
<Line />
</div>
<div
style={{
alignItems: 'center',
backgroundColor: '#d1d5db',
borderRadius: '9999px',
color: '#FFF',
display: 'flex',
fontSize: '12px',
height: '16px',
justifyContent: 'center',
width: '16px',
}}
>
2
</div>
<div style={{ flex: 1 }}>
<Line />
</div>
</div>
<div
style={{
alignItems: 'center',
display: 'flex',
flex: 1,
justifyContent: 'center',
}}
>
<div style={{ flex: 1 }}>
<Line />
</div>
<div
style={{
alignItems: 'center',
backgroundColor: '#d1d5db',
borderRadius: '9999px',
color: '#FFF',
display: 'flex',
fontSize: '12px',
height: '16px',
justifyContent: 'center',
width: '16px',
}}
>
3
</div>
<div style={{ flex: 1 }} />
</div>
</div>
</div>
</Frame>
);
};
export default Cover;