@material-ui/core
Version:
React components that implement Google's Material Design.
26 lines (21 loc) • 718 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
export interface FormControlLabelProps
extends StandardProps<
React.LabelHTMLAttributes<HTMLLabelElement>,
FormControlLabelClassKey,
'onChange'
> {
checked?: boolean;
control: React.ReactElement;
disabled?: boolean;
inputRef?: React.Ref<any>;
label: React.ReactNode;
name?: string;
onChange?: (event: React.ChangeEvent<{}>, checked: boolean) => void;
labelPlacement?: 'end' | 'start' | 'top' | 'bottom';
value?: unknown;
}
export type FormControlLabelClassKey = 'root' | 'start' | 'disabled' | 'label';
declare const FormControlLabel: React.ComponentType<FormControlLabelProps>;
export default FormControlLabel;