dappconnect-chat-sdk/packages/icons/20/unlocked-icon.tsx

31 lines
2.0 KiB
TypeScript

import { useTheme } from '@tamagui/core'
import { Path, Svg } from 'react-native-svg'
import type { IconProps } from '../types'
const SvgUnlockedIcon = (props: IconProps) => {
const { color: token = '$neutral-100' } = props
const theme = useTheme()
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const color = theme[token]?.val ?? token
return (
<Svg
width={20}
height={20}
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M10.094 1.35a3.556 3.556 0 0 1 3.556 3.556v1.536c.365.055.696.147 1.007.306a3.65 3.65 0 0 1 1.595 1.595c.218.428.31.893.355 1.434.043.527.043 1.179.043 1.995V12.228c0 .816 0 1.469-.043 1.995-.044.54-.137 1.006-.355 1.434a3.65 3.65 0 0 1-1.595 1.595c-.428.218-.893.31-1.434.355-.527.043-1.179.043-1.995.043H8.772c-.816 0-1.469 0-1.995-.043-.54-.044-1.006-.137-1.434-.355a3.65 3.65 0 0 1-1.595-1.595c-.218-.428-.31-.893-.355-1.434-.043-.527-.043-1.179-.043-1.995V11.772c0-.816 0-1.469.043-1.995.044-.54.137-1.006.355-1.434a3.65 3.65 0 0 1 1.595-1.595c.428-.218.893-.31 1.434-.355.526-.043 1.179-.043 1.995-.043h2.456c.415 0 .787 0 1.122.006v-1.45a2.256 2.256 0 0 0-4.396-.714l-.337 1.014-1.234-.412.338-1.013a3.556 3.556 0 0 1 3.373-2.431ZM6.883 7.689c-.46.037-.736.108-.95.217a2.35 2.35 0 0 0-1.027 1.027c-.109.214-.18.49-.217.95-.038.467-.039 1.066-.039 1.917v.4c0 .85 0 1.45.039 1.918.037.46.108.735.217.949a2.35 2.35 0 0 0 1.027 1.027c.214.109.49.18.95.217.467.038 1.066.039 1.917.039h2.4c.85 0 1.45 0 1.918-.039.46-.037.735-.108.949-.217a2.35 2.35 0 0 0 1.027-1.027c.109-.214.18-.49.217-.95.039-.467.039-1.066.039-1.917v-.4c0-.85 0-1.45-.039-1.917-.037-.46-.108-.736-.217-.95a2.35 2.35 0 0 0-1.027-1.027c-.214-.109-.49-.18-.95-.217-.467-.038-1.066-.039-1.917-.039H8.8c-.85 0-1.45 0-1.917.039ZM9.35 13.5v-3h1.3v3h-1.3Z"
fill={color}
/>
</Svg>
)
}
export default SvgUnlockedIcon