1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 19:26:26 +02:00

feat: Add badge

This commit is contained in:
Phuoc Nguyen
2022-09-19 11:58:21 +07:00
parent 4401de7f7b
commit 2f67a746ac
7 changed files with 61 additions and 116 deletions

View File

@@ -1,38 +0,0 @@
import * as React from 'react';
import Frame from '../../placeholders/Frame';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
height: '100%',
justifyContent: 'center',
padding: '8px',
}}
>
<div
style={{
alignItems: 'center',
backgroundColor: 'rgba(0, 0, 0, 0.3)',
borderRadius: '9999px',
color: '#FFF',
display: 'flex',
flexDirection: 'column',
height: '32px',
justifyContent: 'center',
width: '32px',
}}
>
1
</div>
</div>
</Frame>
);
};
export default Cover;