Enhanced accordion component, to be used with @wide/modulus
.
npm install @wide/modulus-accordion --save
Register this component using Modulus
:
import modulus from '@wide/modulus'
import Accordion from '@wide/modulus-accordion'
modulus.component('accordion', Accordion)
Import base scss
styles:
@use '@wide/modulus-accordion';
And use the provided twig
template:
{% include '@wide::modulus-accordion' with {
id: 'accordion-1',
items: [{
title: 'Title 1',
body: 'Body 1'
}]
} %}
- Aymeric Assier - github.com/myeti
- Julien Martins Da Costa - github.com/jdacosta
This project is licensed under the MIT License - see the licence file for details