An example component
What's inside a component and how to use it
{% include 'radix:accordion' with {
title: 'Yolo!',
title_tag: 'h2',
items: [
{
title: 'Item 1',
title_tag: 'h3',
content: 'Content 1',
},
{
title: 'Item 2',
title_tag: 'h3',
content: 'Content 2',
},
{
title: 'Item 3',
title_tag: 'h3',
content: 'Content 3',
},
],
flush: true,
} %}Last updated