/** * @typedef {object} DropdownAttributes * @prop {boolean} [active] * @prop {boolean} [hoverable] * @prop {boolean} [dropup] * @prop {boolean} [right] */ /** * Main dropdown component that wraps all the internal components * * An interactive dropdown menu for discoverable content * * https://bulma.io/documentation/components/dropdown/ * * @type {m.Component} */ export const Main: m.Component; /** * Dropdown trigger component. Most commonly will have a button with icon as a child component. * * https://bulma.io/documentation/components/dropdown/ * * @type {m.Component} */ export const Trigger: m.Component; /** * Container that hides/displays the selectable options * * https://bulma.io/documentation/components/dropdown/ * * @type {m.Component} */ export const Content: m.Component; /** * Dropdown menu item which should be nested in Dropdown.Content * * https://bulma.io/documentation/components/dropdown/ * * @type {m.Component} */ export const Item: m.Component; export type DropdownAttributes = { active?: boolean; hoverable?: boolean; dropup?: boolean; right?: boolean; }; import m from 'mithril';