chore: catch up Storybook preview, coverage, and story hygiene
Stories were throwing without AuthModal/CreateFlow providers, autodocs was a no-op, and several DS/create-flow screens had no stories.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user