From 7a7209b16dd9325d4a5388a1fb31f6b708e78ee2 Mon Sep 17 00:00:00 2001 From: Andrew Munro Date: Tue, 11 Sep 2018 22:31:38 +1200 Subject: [PATCH 1/2] Remove isButton prop Fixes #9785 --- packages/components/src/color-palette/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/src/color-palette/index.js b/packages/components/src/color-palette/index.js index c69be9543a35ba..664d5f4ed92a58 100644 --- a/packages/components/src/color-palette/index.js +++ b/packages/components/src/color-palette/index.js @@ -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 > From fc3f9ebfec16b2313fc55e1caaf8eddc89974c64 Mon Sep 17 00:00:00 2001 From: Andrew Munro Date: Tue, 11 Sep 2018 22:48:38 +1200 Subject: [PATCH 2/2] Remove isButton from index.js.snap #9785 --- .../src/color-palette/test/__snapshots__/index.js.snap | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/components/src/color-palette/test/__snapshots__/index.js.snap b/packages/components/src/color-palette/test/__snapshots__/index.js.snap index d8a1b66119023e..7562ecac5015c0 100644 --- a/packages/components/src/color-palette/test/__snapshots__/index.js.snap +++ b/packages/components/src/color-palette/test/__snapshots__/index.js.snap @@ -127,7 +127,6 @@ exports[`ColorPalette should allow disabling custom color picker 1`] = `