33 lines
793 B
TypeScript
33 lines
793 B
TypeScript
/* eslint-disable functional/no-class */
|
|
/* eslint-disable functional/no-this-expression */
|
|
import { IconProps } from './IconProps'
|
|
|
|
import React from 'react'
|
|
|
|
export class ToggleCaretDownIcon extends React.Component<IconProps> {
|
|
render() {
|
|
const size = (this.props.size || 26).toString()
|
|
const color = (this.props.color || '#2A2A2A').toString()
|
|
|
|
return (
|
|
<svg
|
|
width={size}
|
|
height={size}
|
|
viewBox="0 0 26 26"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<g>
|
|
<path
|
|
d="M6.57812 10.3379L12.8281 16.5879L19.0781 10.3379"
|
|
stroke={color}
|
|
strokeWidth="1.5"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
</g>
|
|
</svg>
|
|
)
|
|
}
|
|
}
|