kopia lustrzana https://github.com/Tldraw/Tldraw
15 wiersze
309 B
TypeScript
15 wiersze
309 B
TypeScript
import * as React from 'react'
|
|
|
|
export function CircleIcon(
|
|
props: Pick<React.SVGProps<SVGSVGElement>, 'stroke' | 'fill'> & {
|
|
size: number
|
|
}
|
|
) {
|
|
const { size = 16, ...rest } = props
|
|
return (
|
|
<svg width={24} height={24} {...rest}>
|
|
<circle cx={12} cy={12} r={size / 2} />
|
|
</svg>
|
|
)
|
|
}
|