Files
Checkmate/client/src/Components/v2/DesignElements/Dot.tsx
T

23 lines
325 B
TypeScript
Raw Normal View History

2025-10-06 13:59:31 -07:00
export const Dot = ({
color = "gray",
size = "4px",
style,
}: {
color?: string;
size?: string;
style?: React.CSSProperties;
}) => {
return (
<span
style={{
content: '""',
width: size,
height: size,
borderRadius: "50%",
backgroundColor: color,
opacity: 0.8,
...style,
}}
/>
);
};