Skip to content

Commit

Permalink
docs(button): fix the variants of "p" buttons in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Jun 12, 2024
1 parent bb1f997 commit 7ca54c8
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions packages/fractal/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,7 @@ const primaryButtons = (
</Wrapper>

<Wrapper>
<Button
element="p"
label="Primary button as a `p` element"
variant="display"
/>
<Button element="p" label="Primary button as a `p` element" />
</Wrapper>

<Wrapper>
Expand Down Expand Up @@ -320,7 +316,7 @@ const secondaryButtons = (
<Button
element="p"
label="Seconcary button as a `p` element"
variant="display"
variant="secondary"
/>
</Wrapper>

Expand Down Expand Up @@ -407,11 +403,7 @@ const textButtons = (
</Wrapper>

<Wrapper>
<Button
element="p"
label="Text button as a `p` element"
variant="display"
/>
<Button element="p" label="Text button as a `p` element" variant="text" />
</Wrapper>

<Wrapper>
Expand Down

0 comments on commit 7ca54c8

Please sign in to comment.