Skip to content

Commit

Permalink
fix(switch) Pass checked prop to component
Browse files Browse the repository at this point in the history
  • Loading branch information
lindomar-oliveira authored and mlaursen committed Jun 10, 2021
1 parent a5ecbac commit bffae6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/form/src/toggle/SwitchTrack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const SwitchTrack = forwardRef<HTMLInputElement, SwitchTrackProps>(
ref={ref}
type="checkbox"
className={cn(styles("input"))}
checked={checked}
disabled={disabled}
/>
<label
Expand Down

1 comment on commit bffae6f

@vercel
Copy link

@vercel vercel bot commented on bffae6f Jun 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.