diff --git a/superset-frontend/src/components/Button/button.stories.jsx b/superset-frontend/src/components/Button/button.stories.jsx index 52aba2134..de8cba65f 100644 --- a/superset-frontend/src/components/Button/button.stories.jsx +++ b/superset-frontend/src/components/Button/button.stories.jsx @@ -99,9 +99,33 @@ const hrefKnob = { defaultValue: null, }; -export const SupersetButton = () => ( +export const ButtonGallery = () => ( +
+ {Object.values(bsSizeKnob.options) + .filter(a => a) + .map(size => ( +
+

{size}

+ {Object.values(bsStyleKnob.options) + .filter(o => o) + .map(style => ( + + ))} +
+ ))} +
+); + +export const InteractiveButton = () => (
-

Interactive

-

Gallery

- {Object.values(bsSizeKnob.options) - .filter(a => a) - .map(size => ( -
-

{size}

- {Object.values(bsStyleKnob.options) - .filter(o => o) - .map(style => ( - - ))} -
- ))}
);