UNPKG

react-chrono

Version:
23 lines 758 B
import { FunctionComponent } from 'react'; import { ToolbarProps } from '../../models/ToolbarProps'; /** * @description A reusable toolbar component that renders a list of items with icons and content * @component * @param {Object} props - Component properties * @param {Array} props.items - Array of toolbar items to render * @param {ReactNode[]} props.children - Child elements to render within each toolbar item * @param {Theme} props.theme - Theme configuration for styling * * @example * ```tsx * <Toolbar * items={[{ id: '1', label: 'Action', icon: <Icon /> }]} * theme={theme} * > * <Content /> * </Toolbar> * ``` */ declare const Toolbar: FunctionComponent<ToolbarProps>; export { Toolbar }; //# sourceMappingURL=index.d.ts.map