MenuBar API
Initialization
import { MenuBar } from "@svar-ui/react-menu";
import { getOptions } from "./data";
const options = getOptions();
<MenuBar options={options} />
Related resources
- Visit the Features Guide to learn more about the widget's functionality.
- Explore the samples to visualize the available features.
Properties
css | Optional. Adds a custom style to the menu item |
menuCss | Optional. Adds a custom CSS class to the Menu |
options | Optional. Specifies a set of options for Menu Bar |
Events
click | Fires on clicking a menu bar item or outside the menu bar |