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

feat: Input addon

This commit is contained in:
Phuoc Nguyen
2022-09-21 09:36:24 +07:00
parent 203c6f299c
commit f6f295fb72
8 changed files with 129 additions and 256 deletions

View File

@@ -1,48 +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',
height: '100%',
justifyContent: 'center',
padding: '8px',
}}
>
<div
style={{
border: '1px solid #d1d5db',
borderRadius: '4px',
display: 'flex',
height: '24px',
width: '100%',
}}
>
<div
style={{
alignItems: 'center',
borderRight: '1px solid #d1d5db',
display: 'flex',
justifyContent: 'center',
padding: '0 8px',
width: '30%',
}}
>
<div style={{ width: '100%' }}>
<Line />
</div>
</div>
<div style={{ flex: 1 }} />
</div>
</div>
</Frame>
);
};
export default Cover;