diff --git a/packages/react/src/components/Button/Button.stories.js b/packages/react/src/components/Button/Button.stories.js index 5c4d2702d529..b8aac1a0b105 100644 --- a/packages/react/src/components/Button/Button.stories.js +++ b/packages/react/src/components/Button/Button.stories.js @@ -7,10 +7,11 @@ import React from 'react'; import { action } from '@storybook/addon-actions'; -import { Add } from '@carbon/icons-react'; +import { Add, FitToScreen } from '@carbon/icons-react'; import { default as Button, ButtonSkeleton } from '../Button'; import ButtonSet from '../ButtonSet'; import mdx from './Button.mdx'; +import './button-story.scss'; export default { title: 'Components/Button', @@ -62,6 +63,23 @@ export const Default = (args) => { return ; }; +export const ButtonTest = () => { + const sizes = ['sm', 'md', 'lg', 'xl']; + return ( +
+ {sizes.map((size) => ( +
+ +
+
+
+ ))} +
+ ); +}; + export const Secondary = (args) => { return (