Refactored exports.

This commit is contained in:
Mike Cao committed 2023-04-21 08:00:42 -07:00
1 parent 1baf4d5571
commit 8bddc666b4
110 files changed
+317 -124

No files matched your search

+3 -1
View File
@@ -1,6 +1,6 @@
import { ButtonGroup, Button, Flexbox } from 'react-basics';
export default function FilterButtons({ items, selectedKey, onSelect }) {
export function FilterButtons({ items, selectedKey, onSelect }) {
return (
<Flexbox justifyContent="center">
<ButtonGroup items={items} selectedKey={selectedKey} onSelect={onSelect}>
@@ -9,3 +9,5 @@ export default function FilterButtons({ items, selectedKey, onSelect }) {
</Flexbox>
);
}
export default FilterButtons;