Skip to content

Commit

Permalink
feat: enhance AccordionNew label stories with variant properties for …
Browse files Browse the repository at this point in the history
…Figma integration
  • Loading branch information
iacopolea committed Dec 20, 2024
1 parent a94e7cb commit 1bf4ce8
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/stories/accordion-new/label.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { Meta, StoryObj } from "@storybook/react";
import { AccordionNew } from ".";
import { Checkbox } from "../forms/checkbox";
import React from "react";
import { ReactComponent as FolderIcon } from "@zendeskgarden/svg-icons/src/16/folder-open-stroke.svg";
import { Placeholder } from "../placeholder";
import { AccordionLabelArgs } from "./AccordionLabel";


Expand Down Expand Up @@ -53,4 +50,22 @@ export const Default: Story = {
args: {
...defaultArgs,
},
parameters: {
s2d: {
initArgs: {
":selector": "[data-garden-id='accordions.button']",
},
variantProperties: [ /* Figma variant properties definition here */
{
fromArg: "isCompact",
},
{
fromArg: "hasSubtitles",
},
{
fromArg: "hasSupertitles",
},
],
},
},
};

0 comments on commit 1bf4ce8

Please sign in to comment.