status-web/packages/icons/16/history-icon.tsx

32 lines
899 B
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 SvgHistoryIcon = (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={16}
height={16}
fill="none"
xmlns="http://www.w3.org/2000/svg"
2023-03-13 20:47:52 +00:00
{...props}
>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M2.6 4.204V3H1.4v3.6h3.1V5.4H3.266a5.4 5.4 0 1 1-.534 3.792l-1.165.291A6.6 6.6 0 1 0 2.6 4.204Z"
2023-03-13 20:47:52 +00:00
fill="#000"
/>
2023-03-13 20:47:52 +00:00
<Path d="M7.5 5v3l2.5 2.5" stroke="#000" strokeWidth={1.2} />
</Svg>
)
}
2023-01-23 13:03:08 +00:00
export default SvgHistoryIcon