import React, { useMemo } from 'react' import { Listbox } from '@headlessui/react' import { ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/solid' import { isEqual } from '../utils' const GroupSize = ({ tickSize, value, onChange, className = '' }) => { const sizes = useMemo( () => [ tickSize, tickSize * 5, tickSize * 10, tickSize * 50, tickSize * 100, ], [tickSize] ) return (