mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-23 18:56:29 +02:00
20 lines
357 B
TypeScript
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;
|