Skip to content

Commit

Permalink
fix: adds optional 'id' type to Switch (ant-design#32237)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-ZubairAhmed authored Sep 19, 2021
1 parent 8467fdc commit 0d670da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface SwitchProps {
style?: React.CSSProperties;
title?: string;
tabIndex?: number;
id?: string;
}

interface CompoundedComponent
Expand Down

0 comments on commit 0d670da

Please sign in to comment.