mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
12 lines
351 B
JavaScript
12 lines
351 B
JavaScript
import React from 'react';
|
|
import ButtonLayout from 'components/layout/ButtonLayout';
|
|
import ButtonGroup from './ButtonGroup';
|
|
|
|
export default function FilterButtons({ buttons, selected, onClick }) {
|
|
return (
|
|
<ButtonLayout>
|
|
<ButtonGroup size="xsmall" items={buttons} selectedItem={selected} onClick={onClick} />
|
|
</ButtonLayout>
|
|
);
|
|
}
|