
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
@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
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
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.