import { Key } from 'react'; import { ButtonGroup, Button, Flexbox } from 'react-basics'; export interface FilterButtonsProps { items: any[]; selectedKey?: Key; onSelect: () => void; } export function FilterButtons({ items, selectedKey, onSelect }: FilterButtonsProps) { return ( {({ key, label }) => } ); } export default FilterButtons;