Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@rsuite/responsive-nav
Advanced tools
A responsive navigation component based on rsuite navigation enhancements
A responsive navigation component based on rsuite navigation enhancements.
npm install @rsuite/responsive-nav --save
import Nav from "@rsuite/responsive-nav";
const App = () => {
return (
<Nav>
<Nav.Item eventKey="A">Item A</Nav.Item>
<Nav.Item eventKey="B">Item B</Nav.Item>
<Nav.Item eventKey="C">Item C</Nav.Item>
<Nav.Item eventKey="D">Item D</Nav.Item>
<Nav.Item eventKey="E">Item E</Nav.Item>
</Nav>
);
};
ReactDOM.render(<App />, mountNode);
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
FAQs
A responsive navigation component based on rsuite navigation enhancements
The npm package @rsuite/responsive-nav receives a total of 617 weekly downloads. As such, @rsuite/responsive-nav popularity was classified as not popular.
We found that @rsuite/responsive-nav demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.