npm install --save @sb1/ffe-accordion-react
Full documentation on accordion usage is available at https://design.sparebank1.no/komponenter/accordion/.
This package depends on @sb1/ffe-collapse-react
and @sb1/ffe-icons-react
.
Make sure you import the less-files.
To start a local development server, run the following from the designsystem root folder:
npm install
npm run build
npm start
A local instance of component-overview
with live reloading will run at http://localhost:1234/.
Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.