import React from 'react' type Direction = 'left' | 'right' interface ArrowIconProps { color?: string direction?: Direction size?: number className?: string } interface DataURIOptions { color?: string direction?: Direction size?: number } const paths = { left: 'M15 18l-6-6 6-6', right: 'M9 18l6-6-6-6', } export function ArrowIcon({ color = 'currentColor', direction = 'right', size = 24, className, }: ArrowIconProps) { return ( ) } ArrowIcon.toDataURI = ({ color, direction = 'right', size = 24, }: DataURIOptions) => { const svg = `` return `url("data:image/svg+xml,${encodeURIComponent(svg)}")` }