26 lines
604 B
TypeScript
26 lines
604 B
TypeScript
import { Path, Svg } from 'react-native-svg'
|
|
import { useCurrentColor } from 'tamagui'
|
|
|
|
import type { SvgProps } from 'react-native-svg'
|
|
|
|
const SvgCloseIcon = (props: SvgProps) => {
|
|
const { color: colorToken = 'currentColor', ...rest } = props
|
|
const color = useCurrentColor(colorToken)
|
|
return (
|
|
<Svg
|
|
width={16}
|
|
height={16}
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<Path
|
|
d="m4.464 11.536 7.072-7.072M4.464 4.464l7.072 7.072"
|
|
stroke={color}
|
|
strokeWidth={1.2}
|
|
/>
|
|
</Svg>
|
|
)
|
|
}
|
|
export default SvgCloseIcon
|