Skip to content

Commit

Permalink
feat: add undefined to color prop of components
Browse files Browse the repository at this point in the history
  • Loading branch information
carwack committed Dec 16, 2023
1 parent 1ce0400 commit 7a23e4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
interface Props {
href: string;
target?: '_blank' | '_self';
color?: string;
color?: string | undefined;
}
import colors from '../config/colors.json';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
interface Props {
color?: string;
color?: string | undefined;
}
import colors from '../config/colors.json';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pill.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
interface Props {
color?: string;
color?: string | undefined;
}
import colors from '../config/colors.json';
Expand Down

0 comments on commit 7a23e4e

Please sign in to comment.