From 3c01f7e2f14e9c3113c56d46e78a48cadad2ed52 Mon Sep 17 00:00:00 2001 From: himanshupathak95 Date: Fri, 27 Dec 2024 16:03:45 +0530 Subject: [PATCH] Storybook: Add default color values for initial component visibility --- .../components/contrast-checker/stories/index.story.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/contrast-checker/stories/index.story.js b/packages/block-editor/src/components/contrast-checker/stories/index.story.js index 0e3d8e996be187..4518ab2ba7cd67 100644 --- a/packages/block-editor/src/components/contrast-checker/stories/index.story.js +++ b/packages/block-editor/src/components/contrast-checker/stories/index.story.js @@ -101,6 +101,7 @@ const meta = { type: { summary: 'boolean', }, + defaultValue: { summary: false }, }, }, }, @@ -108,4 +109,9 @@ const meta = { export default meta; -export const Default = {}; +export const Default = { + args: { + backgroundColor: '#ffffff', + textColor: '#ffffff', + }, +};