material-ui - Updated TextField props (#14761)

* material-ui - Updated TextField props

* Update index.d.ts
This commit is contained in:
xaviergonz
2017-03-10 15:58:32 -08:00
committed by Mohamed Hegazy
parent 647ecd7255
commit c73a528e27
+4 -1
View File
@@ -1767,6 +1767,7 @@ declare namespace __MaterialUI {
errorText?: React.ReactNode;
floatingLabelFixed?: boolean;
floatingLabelFocusStyle?: React.CSSProperties;
floatingLabelShrinkStyle?: React.CSSProperties;
floatingLabelStyle?: React.CSSProperties;
floatingLabelText?: React.ReactNode;
fullWidth?: boolean;
@@ -1778,9 +1779,10 @@ declare namespace __MaterialUI {
name?: string;
onBlur?: React.FocusEventHandler<{}>;
onChange?: (e: React.FormEvent<{}>, newValue: string) => void;
onEnterKeyDown?: React.KeyboardEventHandler<{}>;
onFocus?: React.FocusEventHandler<{}>;
onKeyDown?: React.KeyboardEventHandler<{}>;
onKeyUp?: React.KeyboardEventHandler<{}>;
onKeyPress?: React.KeyboardEventHandler<{}>;
rows?: number,
rowsMax?: number,
style?: React.CSSProperties;
@@ -1791,6 +1793,7 @@ declare namespace __MaterialUI {
underlineShow?: boolean;
underlineStyle?: React.CSSProperties;
value?: string | number;
autoFocus?: boolean;
}
export class TextField extends React.Component<TextFieldProps, {}> {
blur(): void;