UNPKG

@onehat/ui

Version:
28 lines (26 loc) 531 B
import { HStack, } from '@project-components/Gluestack'; import clsx from 'clsx'; import Toolbar from './Toolbar.js' import _ from 'lodash'; export default function FilterToolbar(props) { const { toolbarItems = [], } = props; return <Toolbar className={clsx( 'bg-grey-200', 'border-t', 'border-t-grey-400', 'w-full', )} > {toolbarItems.length && <HStack className={clsx( 'flex-1', 'border', 'border-l-grey-100', )}>{toolbarItems}</HStack>} </Toolbar>; };