Skip to content

Commit

Permalink
Remove default argument from backgroundColor
Browse files Browse the repository at this point in the history
  • Loading branch information
ta1m1kam committed Jan 21, 2023
1 parent 994a26d commit f3a7f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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
1 change: 1 addition & 0 deletions code/renderers/web-components/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": true,
"resolveJsonModule": true
},
"include": ["src/**/*", "template/**/*"]
Expand Down

0 comments on commit f3a7f4a

Please sign in to comment.