Completely updated React, fixed #11, (hopefully)
This commit is contained in:
18
goTorrentWebUI/node_modules/material-ui/Input/Input.d.ts
generated
vendored
18
goTorrentWebUI/node_modules/material-ui/Input/Input.d.ts
generated
vendored
@@ -1,14 +1,14 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
|
||||
export interface InputProps extends StandardProps<
|
||||
React.HTMLAttributes<HTMLDivElement>,
|
||||
InputClassKey,
|
||||
'onChange' | 'onKeyUp' | 'onKeyDown' | 'defaultValue'
|
||||
> {
|
||||
export interface InputProps
|
||||
extends StandardProps<
|
||||
React.HTMLAttributes<HTMLDivElement>,
|
||||
InputClassKey,
|
||||
'onChange' | 'onKeyUp' | 'onKeyDown' | 'defaultValue'
|
||||
> {
|
||||
autoComplete?: string;
|
||||
autoFocus?: boolean;
|
||||
inputComponent?: React.ReactNode;
|
||||
defaultValue?: string | number;
|
||||
disabled?: boolean;
|
||||
disableUnderline?: boolean;
|
||||
@@ -16,6 +16,7 @@ export interface InputProps extends StandardProps<
|
||||
error?: boolean;
|
||||
fullWidth?: boolean;
|
||||
id?: string;
|
||||
inputComponent?: React.ReactType<InputProps>;
|
||||
inputProps?:
|
||||
| React.TextareaHTMLAttributes<HTMLTextAreaElement>
|
||||
| React.InputHTMLAttributes<HTMLInputElement>;
|
||||
@@ -28,7 +29,7 @@ export interface InputProps extends StandardProps<
|
||||
rowsMax?: string | number;
|
||||
startAdornment?: React.ReactNode;
|
||||
type?: string;
|
||||
value?: string | number;
|
||||
value?: Array<string | number> | string | number;
|
||||
onClean?: () => void;
|
||||
onDirty?: () => void;
|
||||
/**
|
||||
@@ -59,8 +60,7 @@ export type InputClassKey =
|
||||
| 'inputSingleline'
|
||||
| 'inputSearch'
|
||||
| 'inputMultiline'
|
||||
| 'fullWidth'
|
||||
;
|
||||
| 'fullWidth';
|
||||
|
||||
declare const Input: React.ComponentType<InputProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user