1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 02:36:11 +02:00
Files
csslayout/patterns/full-background/Cover.tsx
Phuoc Nguyen 829d57c1bf Cleanup
2021-09-27 23:33:13 +07:00

35 lines
1.0 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',
backgroundColor: 'rgba(0, 0, 0, 0.25)',
display: 'flex',
flexDirection: 'column',
height: '100%',
justifyContent: 'center',
padding: '8px',
}}
>
<div style={{ marginBottom: '4px', width: '80%' }}>
<Line backgroundColor="#fff" />
</div>
<div style={{ marginBottom: '4px', width: '60%' }}>
<Line backgroundColor="#fff" />
</div>
<div style={{ width: '40%' }}>
<Line backgroundColor="#fff" />
</div>
</div>
</Frame>
);
};
export default Cover;