mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
material-ui - Updated TextField props (#14761)
* material-ui - Updated TextField props * Update index.d.ts
This commit is contained in:
committed by
Mohamed Hegazy
parent
647ecd7255
commit
c73a528e27
Vendored
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user