Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/9785 - Remove isButton prop #9786

Merged
merged 2 commits into from
Sep 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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