Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@economist/component-accordion
Advanced tools
Collapse a series of panels, when one of those panels is expanded
Collapse a series of panels, when one of those panels is expanded
This component expects an ES6 environment, and so if you are using this in an app, you should drop in a polyfill library - it has been tested with babel-polyfill but core-js or es6-shim may also work.
The default export is a React Component, so you can simply import the component and use it within some JSX, like so:
import { Accordion, Panel } from '@economist/component-accordion';
return (
<Accordion>
<Panel header={<h2>Search Engines</h2>}>
<a href="http://google.com">Google</a>
<a href="http://bing.com">Bing</a>
<a href="http://yahoo.com">Yahoo</a>
</Panel>
</Accordion>
);
For more examples on usage, see src/example.es6
.
npm i -S @economist/component-accordion
npm test
FAQs
Collapse a series of panels, when one of those panels is expanded
The npm package @economist/component-accordion receives a total of 1 weekly downloads. As such, @economist/component-accordion popularity was classified as not popular.
We found that @economist/component-accordion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.