Skip to content

Commit

Permalink
Issue/9785 - Remove isButton prop (#9786)
Browse files Browse the repository at this point in the history
* Remove isButton prop

Fixes #9785
  • Loading branch information
amdrew authored and tofumatt committed Sep 11, 2018
1 parent 8129584 commit 406dc2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/components/src/color-palette/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export default function ColorPalette( { colors, disableCustomColors = false, val
className="components-color-palette__clear"
type="button"
onClick={ () => onChange( undefined ) }
isButton
isSmall
isDefault
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ exports[`ColorPalette should allow disabling custom color picker 1`] = `
</div>
<Button
className="components-color-palette__clear"
isButton={true}
isDefault={true}
isSmall={true}
onClick={[Function]}
Expand Down Expand Up @@ -213,7 +212,6 @@ exports[`ColorPalette should render a dynamic toolbar of colors 1`] = `
/>
<Button
className="components-color-palette__clear"
isButton={true}
isDefault={true}
isSmall={true}
onClick={[Function]}
Expand Down

0 comments on commit 406dc2c

Please sign in to comment.