36 lines
895 B
TypeScript
36 lines
895 B
TypeScript
import { Path, Rect, Svg } from 'react-native-svg'
|
|
import { useCurrentColor } from 'tamagui'
|
|
|
|
import type { SvgProps } from 'react-native-svg'
|
|
|
|
const SvgPasswordIcon = (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"
|
|
{...rest}
|
|
>
|
|
<Rect
|
|
x={3.5}
|
|
y={3.5}
|
|
width={13}
|
|
height={13}
|
|
rx={4}
|
|
stroke={color}
|
|
strokeWidth={1.3}
|
|
/>
|
|
<Path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M7.5 9.15a.85.85 0 1 0 0 1.7.85.85 0 0 0 0-1.7ZM5.35 10a2.15 2.15 0 0 1 4.2-.65H14.15V12h-1.3v-1.35h-.7v.85h-1.3v-.85h-1.3a2.15 2.15 0 0 1-4.2-.65Z"
|
|
fill={color}
|
|
/>
|
|
</Svg>
|
|
)
|
|
}
|
|
export default SvgPasswordIcon
|