A responsive navigation component based on rsuite navigation enhancements
npm install @rsuite/responsive-navA responsive navigation component based on rsuite navigation enhancements.
- Support for removable tabs.
- Support for automatic folding options when a row can not show all options.
```
npm install @rsuite/responsive-nav --save
`js
import Nav from "@rsuite/responsive-nav";
const App = () => {
return (
);
};
ReactDOM.render(
`
ResponsiveNav extends all the props of Nav and also supports:
| Property | Type(Default)` | Description |
| ------------ | ---------------- | ------------------------------------------- |
| moreProps | object | More drop-down menu props |
| moreText | React.Node | More text displayed on the drop-down |
| onItemRemove | (eventKey)=>void | The callback function when removing options |
| removable | boolean | Options can be removed |
MIT licensed