22 lines
532 B
TypeScript
22 lines
532 B
TypeScript
|
import { Rect, Svg } from 'react-native-svg'
|
||
|
import { useCurrentColor } from 'tamagui'
|
||
|
|
||
|
import type { SvgProps } from 'react-native-svg'
|
||
|
|
||
|
const SvgPause = (props: SvgProps) => {
|
||
|
const { color: colorToken = 'currentColor', ...rest } = props
|
||
|
const color = useCurrentColor(colorToken)
|
||
|
return (
|
||
|
<Svg
|
||
|
width={12}
|
||
|
height={12}
|
||
|
fill="none"
|
||
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
{...props}
|
||
|
>
|
||
|
<Rect x={2} y={2} width={8} height={8} rx={2} fill={color} />
|
||
|
</Svg>
|
||
|
)
|
||
|
}
|
||
|
export default SvgPause
|