/** * A responsive horizontal navbar that can support images, links, buttons, and dropdowns * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Main: m.Component; /** * @typedef {object} NavbarBrandAttributes * @prop {(e: Event)=>void} [onclick] */ /** * Most commonly contains a link with a nested image * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Brand: m.Component; /** * The menu option portion of the navbar (this part will be hidden on mobile unless clicked) * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Menu: m.Component; /** * The left side of the menu * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Start: m.Component; /** * The right side of the menu * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const End: m.Component; /** * @typedef {object} NavbarItemAttributes * @prop {boolean} [hardLink] * @prop {string} [href] */ /** * A menu item * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Item: m.Component; /** * @typedef {object} DropdownAttributes * @prop {string} name * @prop {boolean} [hoverable] */ /** * Navbar dropdown — supports hoverable and click modes. * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Dropdown: m.Component; /** * A divider line to place on the menu * * https://bulma.io/documentation/components/navbar/ * * @type {m.Component} */ export const Divider: m.Component; export type NavbarBrandAttributes = { onclick?: (e: Event) => void; }; export type NavbarItemAttributes = { hardLink?: boolean; href?: string; }; export type DropdownAttributes = { name: string; hoverable?: boolean; }; import m from 'mithril';