Skip to content

Commit

Permalink
Add typescript type for FormControlLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
itayyeh committed Oct 20, 2019
1 parent 17c0e30 commit ef8eede
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ export interface FormControlLabelProps
value?: unknown;
}

export type FormControlLabelClassKey = 'root' | 'start' | 'disabled' | 'label';
export type FormControlLabelClassKey =
| 'root'
| 'labelPlacementStart'
| 'labelPlacementTop'
| 'labelPlacementBottom'
| 'disabled'
| 'label';

declare const FormControlLabel: React.ComponentType<FormControlLabelProps>;

Expand Down

0 comments on commit ef8eede

Please sign in to comment.