import { IconButton } from 'components/shared' import { strokes } from 'state/shape-styles' import { ColorStyle } from 'types' import * as DropdownMenu from '@radix-ui/react-dropdown-menu' import { Square } from 'react-feather' import { DropdownContent } from '../shared' export default function ColorContent({ onChange, }: { onChange: (color: ColorStyle) => void }): JSX.Element { return ( {Object.keys(strokes).map((color: ColorStyle) => ( onChange(color)} > ))} ) }