Creates a navigation bar component that can be used to display a set of buttons.
Configuration object for the navigation bar
A JSX element representing the navigation bar component
Basic usage
navigationBar({ buttons: [ { text: "Back", value: "back" }, { text: "Next", value: "next", } ]}); Copy
navigationBar({ buttons: [ { text: "Back", value: "back" }, { text: "Next", value: "next", } ]});
Usage with icons
navigationBar({ buttons: [ { text: "Back", value: "back", icon: "arrow-back" }, { text: "Next", value: "next", icon: "arrow-forward" } ]}); Copy
navigationBar({ buttons: [ { text: "Back", value: "back", icon: "arrow-back" }, { text: "Next", value: "next", icon: "arrow-forward" } ]});
Creates a navigation bar component that can be used to display a set of buttons.