UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

15 lines (14 loc) 577 B
import DropdownItem from "./Dropdown.Item.js"; export type DropdownGroupProps = { /** Label of the dropdown group button */ name?: Exclude<React.ReactNode, boolean | null>; /** Content to show in the dropdown popup */ children?: React.ReactNode; /** Font Awesome icon reference (or string if using library) */ icon?: React.ComponentProps<typeof DropdownItem>["icon"]; }; declare const DropdownGroup: { ({ icon, children, name }: DropdownGroupProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default DropdownGroup;