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

56 lines
1.7 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={{ display: 'flex', height: '100%' }}>
<div
style={{
borderRight: '1px solid #d1d5db',
display: 'flex',
flexDirection: 'column',
justifyContent: 'flex-end',
padding: '4px',
width: '30%',
}}
>
<div style={{ marginBottom: '4px' }}>
<Line />
</div>
<div style={{ width: '80%' }}>
<Line />
</div>
</div>
<div
style={{
borderRight: '1px solid #d1d5db',
borderWidth: '4px',
display: 'flex',
flex: 1,
flexDirection: 'column',
padding: '8px',
}}
>
<div style={{ marginBottom: '8px' }}>
<Line />
</div>
<div style={{ marginBottom: '8px' }}>
<Line />
</div>
<div style={{ marginBottom: '8px' }}>
<Line />
</div>
<div style={{ width: '80%' }}>
<Line />
</div>
</div>
</div>
</Frame>
);
};
export default Cover;