1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 18:56:29 +02:00

feat: Add drop area

This commit is contained in:
Phuoc Nguyen
2022-09-19 16:50:40 +07:00
parent 16e003b4b0
commit 6fef4817a8
7 changed files with 57 additions and 115 deletions

View File

@@ -1,46 +0,0 @@
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={{
alignItems: 'center',
border: '4px dashed rgba(0, 0, 0, 0.3)',
borderRadius: '4px',
display: 'flex',
flexDirection: 'column',
height: '100%',
justifyContent: 'center',
width: '100%',
}}
>
<div style={{ marginBottom: '4px', width: '60%' }}>
<Line />
</div>
<div style={{ marginBottom: '4px', width: '50%' }}>
<Line />
</div>
<div style={{ width: '30%' }}>
<Line />
</div>
</div>
</div>
</Frame>
);
};
export default Cover;