1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 02:36:11 +02:00
Files
csslayout/client/patterns/card/Cover.tsx
2019-11-27 21:23:51 +07:00

36 lines
1.2 KiB
TypeScript

import React from 'react';
import Frame from '../../placeholders/Frame';
import Line from '../../placeholders/Line';
import Rectangle from '../../placeholders/Rectangle';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
display: 'flex',
flexDirection: 'column',
height: '100%',
padding: '8px',
}}
>
<div style={{ marginBottom: '8px', width: '100%' }}>
<Rectangle height={32} />
</div>
<div style={{ flex: 1 }}>
<div style={{ marginBottom: '4px', width: '100%' }}><Line /></div>
<div style={{ marginBottom: '4px', width: '100%' }}><Line /></div>
<div style={{ marginBottom: '4px', width: '80%' }}><Line /></div>
<div style={{ marginBottom: '8px', width: '60%' }}><Line /></div>
<div style={{ width: '30%' }}>
<Rectangle height={8} />
</div>
</div>
</div>
</Frame>
);
};
export default Cover;