Skip to content

Commit

Permalink
Removed stack from button stories
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelarrojo committed Sep 1, 2022
1 parent f4a92d7 commit f055dca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/button/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import DxcButton from "./Button";
import DxcStack from "../stack/Stack";
import DxcFlex from "./../flex/Flex";
import { BackgroundColorProvider } from "../BackgroundColorContext";
import Title from "../../.storybook/components/Title";
import ExampleContainer from "../../.storybook/components/ExampleContainer";
Expand Down Expand Up @@ -271,13 +271,13 @@ export const Chromatic = () => (
<Title title="Xxlarge margin" theme="light" level={4} />
<DxcButton label="Xxlarge margin" margin="xxlarge" />
</ExampleContainer>
<Title title="Inside a stack" theme="light" level={2} />
<Title title="Inside a flex" theme="light" level={2} />
<ExampleContainer>
<DxcStack gutter="2rem">
<DxcFlex direction="column" gap="0.75rem">
<DxcButton label="Button" />
<DxcButton label="Button" />
<DxcButton label="Button" />
</DxcStack>
</DxcFlex>
</ExampleContainer>
</>
);

0 comments on commit f055dca

Please sign in to comment.