22 lines
520 B
TypeScript
22 lines
520 B
TypeScript
|
import { Circle, Svg } from 'react-native-svg'
|
||
|
import { useCurrentColor } from 'tamagui'
|
||
|
|
||
|
import type { SvgProps } from 'react-native-svg'
|
||
|
|
||
|
const SvgBullet = (props: SvgProps) => {
|
||
|
const { color: colorToken = 'currentColor', ...rest } = props
|
||
|
const color = useCurrentColor(colorToken)
|
||
|
return (
|
||
|
<Svg
|
||
|
width={20}
|
||
|
height={20}
|
||
|
fill="none"
|
||
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
{...props}
|
||
|
>
|
||
|
<Circle cx={10} cy={10} r={4} fill={color} />
|
||
|
</Svg>
|
||
|
)
|
||
|
}
|
||
|
export default SvgBullet
|