1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 19:26:26 +02:00
Files
csslayout/client/placeholders/Circle.tsx
2019-11-25 22:37:59 +07:00

21 lines
407 B
TypeScript

import React from 'react';
interface CircleProps {
size?: number;
}
const Circle: React.FC<CircleProps> = ({ size = 16 }) => {
return (
<div
style={{
backgroundColor: 'rgba(0, 0, 0, .3)',
borderRadius: '9999px',
height: `${size}px`,
width: `${size}px`,
}}
/>
);
};
export default Circle;