Skip to content

Commit

Permalink
docs: remove deprecated small button prop usage from React stories (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jendowns authored and asudoh committed Dec 6, 2019
1 parent a0f1d75 commit 408cd59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/react/src/components/Button/Button-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const props = {
),
onClick: action('onClick'),
onFocus: action('onFocus'),
small: boolean('Small (small) - Deprecated in favor of `size`', false),
};
},
iconOnly: () => {
Expand Down Expand Up @@ -92,7 +91,6 @@ const props = {
return {
className: 'some-class',
disabled: boolean('Disabled (disabled)', false),
small: boolean('Small (small)', false),
size: select('Button size (size)', sizes, 'default'),
renderIcon: !iconToUse || iconToUse.svgData ? undefined : iconToUse,
iconDescription: text(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ storiesOf('FileUploader', module)
/>
<Button
kind="secondary"
small
size="small"
style={{ marginTop: '1rem' }}
onClick={() => {
fileUploader.clearFiles();
Expand Down

0 comments on commit 408cd59

Please sign in to comment.