chore(button): remove documentation of non-existent small prop

This commit is contained in:
Eric Liu 2020-09-04 17:35:41 -07:00
commit 41a533d8f4

View file

@ -24,7 +24,6 @@ export const Default = () => ({
disabled: boolean("Disabled (disabled)", false), disabled: boolean("Disabled (disabled)", false),
size: select("Button size (size)", sizes, "default"), size: select("Button size (size)", sizes, "default"),
iconDescription: text("Icon description (iconDescription)", "Button icon"), iconDescription: text("Icon description (iconDescription)", "Button icon"),
small: boolean("Small (small) - Deprecated in favor of `size`", false),
}, },
}); });
@ -54,7 +53,7 @@ export const SetOfButtons = () => ({
props: { props: {
story: "set of buttons", story: "set of buttons",
disabled: boolean("Disabled (disabled)", false), disabled: boolean("Disabled (disabled)", false),
small: boolean("Small (small)", false), stacked: boolean("Stacked (stacked)", false),
size: select("Button size (size)", sizes, "default"), size: select("Button size (size)", sizes, "default"),
iconDescription: text("Icon description (iconDescription)", "Button icon"), iconDescription: text("Icon description (iconDescription)", "Button icon"),
}, },