Skip to content

Commit

Permalink
Merge pull request #20722 from ta1m1kam/fix/webcomponents-template-bu…
Browse files Browse the repository at this point in the history
…tton

WebComponents: fix type error Button component
  • Loading branch information
ndelangen authored Jan 25, 2023
2 parents 1cad7b5 + f35fdc9 commit 58ec7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/renderers/web-components/template/cli/ts/Button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 58ec7fa

Please sign in to comment.