import {
Group,
Item,
DashDashedIcon,
DashDottedIcon,
DashSolidIcon,
} from '../shared'
import * as RadioGroup from '@radix-ui/react-radio-group'
import { DashStyle } from 'types'
import state, { useSelector } from 'state'
import { memo } from 'react'
function handleChange(dash: string) {
state.send('CHANGED_STYLE', { dash })
}
const dashes = {
[DashStyle.Solid]: ,
[DashStyle.Dashed]: ,
[DashStyle.Dotted]: ,
}
function DashPicker(): JSX.Element {
const dash = useSelector((s) => s.values.selectedStyle.dash)
return (
{Object.keys(DashStyle).map((dashStyle: DashStyle) => (
{dashes[dashStyle]}
))}
)
}
export default memo(DashPicker)