Stories were throwing without AuthModal/CreateFlow providers, autodocs was a no-op, and several DS/create-flow screens had no stories.
39 lines
848 B
JavaScript
39 lines
848 B
JavaScript
import FaqAccordion from "../../app/components/sections/Accordion";
|
|
import about from "../../messages/en/pages/about.json";
|
|
|
|
export default {
|
|
title: "Components/Sections/Accordion",
|
|
component: FaqAccordion,
|
|
parameters: {
|
|
layout: "fullscreen",
|
|
docs: {
|
|
description: {
|
|
component:
|
|
"About-page FAQ wrapper over layout/Accordion. Sizes: s below lg, m at lg, l at xl.",
|
|
},
|
|
},
|
|
},
|
|
argTypes: {
|
|
title: { control: { type: "text" } },
|
|
size: {
|
|
control: { type: "select" },
|
|
options: ["s", "m", "l"],
|
|
},
|
|
lgSize: {
|
|
control: { type: "select" },
|
|
options: ["s", "m", "l"],
|
|
},
|
|
xlSize: {
|
|
control: { type: "select" },
|
|
options: ["s", "m", "l"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export const Default = {
|
|
args: {
|
|
title: about.faq.title,
|
|
items: about.faq.items,
|
|
},
|
|
};
|