website/components/icons/ArrowLeft.tsx
2026-11-17 22:15:27 -08:00

54 lines
1.1 KiB
TypeScript

'use client'
import * as React from 'react'
import { useContext } from 'react'
import { ThemeContext } from '../../contexts'
const defaultColor = '#00C3A5'
const ArrowRight = ({ color, useTheme }: any) => {
const { darkTheme } = useContext(ThemeContext)
const stroke = color || defaultColor
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
style={{ marginRight: '0.5em' }}
>
<line
x1="3"
y1="10"
x2="17"
y2="10"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="3"
y1="10"
x2="7"
y2="15"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="3"
y1="10"
x2="7"
y2="5"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
</svg>
)
}
export default ArrowRight