status-web/packages/icons/20/new-message-icon.tsx

31 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-03-13 20:47:52 +00:00
import { useTheme } from '@tamagui/core'
import { Path, Svg } from 'react-native-svg'
2023-03-13 20:47:52 +00:00
import type { IconProps } from '../types'
2023-03-13 20:47:52 +00:00
const SvgNewMessageIcon = (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"
2023-03-13 20:47:52 +00:00
{...props}
>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M17.4 10a7.4 7.4 0 0 0-14.8 0v.28c0 1.233.346 2.44.997 3.484l-.5 2.37a.65.65 0 0 0 .77.77l2.37-.5c1.044.65 2.25.996 3.483.996H10a7.4 7.4 0 0 0 7.4-7.4ZM10 3.9a6.1 6.1 0 0 1 0 12.2h-.28a5.286 5.286 0 0 1-2.932-.888.828.828 0 0 0-.63-.12l-1.583.334.334-1.584a.828.828 0 0 0-.121-.63A5.285 5.285 0 0 1 3.9 10.28V10A6.1 6.1 0 0 1 10 3.9Zm-3 6.75v-1.3h2.35V7h1.3v2.35H13v1.3h-2.35V13h-1.3v-2.35H7Z"
fill={color}
/>
</Svg>
)
}
2023-01-23 13:03:08 +00:00
export default SvgNewMessageIcon