From f35fdc9a800df894ca4cee9eed803dcdf84adad4 Mon Sep 17 00:00:00 2001 From: TaigaMikami Date: Sun, 22 Jan 2023 02:50:12 +0900 Subject: [PATCH] Remove default argument from backgroundColor --- code/renderers/web-components/template/cli/ts/Button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderers/web-components/template/cli/ts/Button.ts b/code/renderers/web-components/template/cli/ts/Button.ts index 3a6c0350d1bb..90fd50410ccc 100644 --- a/code/renderers/web-components/template/cli/ts/Button.ts +++ b/code/renderers/web-components/template/cli/ts/Button.ts @@ -27,7 +27,7 @@ export interface ButtonProps { /** * Primary UI component for user interaction */ -export const Button = ({ primary, backgroundColor = null, size, label, onClick }: ButtonProps) => { +export const Button = ({ primary, backgroundColor, size, label, onClick }: ButtonProps) => { const mode = primary ? 'storybook-button--primary' : 'storybook-button--secondary'; return html`