Skip to content

Commit

Permalink
chore: Fixes Switch component prop type (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-zahedi authored Sep 12, 2024
1 parent 4613102 commit b6dad90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-wolves-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@autoguru/overdrive': patch
---

Fixes Switch component prop type
2 changes: 1 addition & 1 deletion packages/overdrive/lib/components/Switch/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type SwitchProps = AriaSwitchProps &
toggled?: boolean;
};

export const Switch: FunctionComponent = ({
export const Switch: FunctionComponent<SwitchProps> = ({
className,
disabled,
toggled,
Expand Down

0 comments on commit b6dad90

Please sign in to comment.