1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 18:56:29 +02:00
Files
csslayout/client/placeholders/Circle.tsx
2019-11-24 23:20:19 +07:00

20 lines
357 B
TypeScript

import React from 'react';
interface CircleProps {
size?: number;
}
const Circle: React.FC<CircleProps> = ({ size = 16 }) => {
return (
<div
className="bg-black-30 br-pill"
style={{
height: `${size}px`,
width: `${size}px`,
}}
/>
);
};
export default Circle;