import * as DropdownMenu from '@radix-ui/react-dropdown-menu' import { IconButton } from 'components/shared' import Tooltip from 'components/tooltip' import { Circle } from 'react-feather' import state, { useSelector } from 'state' import { SizeStyle } from 'types' import { DropdownContent, Item } from '../shared' const sizes = { [SizeStyle.Small]: 6, [SizeStyle.Medium]: 12, [SizeStyle.Large]: 22, } export default function QuickSizeSelect() { const size = useSelector((s) => s.values.selectedStyle.size) return ( ) } function SizeItem({ size, isActive }: { isActive: boolean; size: SizeStyle }) { return ( state.send('CHANGED_STYLE', { size })} > ) }