Completely updated React, fixed #11, (hopefully)
This commit is contained in:
24
goTorrentWebUI/node_modules/material-ui/Tabs/Tabs.d.ts
generated
vendored
24
goTorrentWebUI/node_modules/material-ui/Tabs/Tabs.d.ts
generated
vendored
@@ -2,23 +2,20 @@ import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
import { ButtonBaseProps, ButtonBaseClassKey } from '../ButtonBase/ButtonBase';
|
||||
|
||||
export interface TabsProps extends StandardProps<
|
||||
ButtonBaseProps,
|
||||
TabsClassKey,
|
||||
'onChange'
|
||||
> {
|
||||
export interface TabsProps extends StandardProps<ButtonBaseProps, TabsClassKey, 'onChange'> {
|
||||
action?: (actions: TabsActions) => void;
|
||||
buttonClassName?: string;
|
||||
centered?: boolean;
|
||||
children?: React.ReactNode;
|
||||
fullWidth?: boolean;
|
||||
value: any;
|
||||
indicatorClassName?: string;
|
||||
indicatorColor?: 'accent' | 'primary' | string;
|
||||
onChange: (event: React.ChangeEvent<{}>, value: any) => void;
|
||||
indicatorColor?: 'secondary' | 'primary' | string;
|
||||
onChange?: (event: React.ChangeEvent<{}>, value: any) => void;
|
||||
scrollable?: boolean;
|
||||
scrollButtons?: 'auto' | 'on' | 'off';
|
||||
TabScrollButton?: React.ReactType,
|
||||
textColor?: 'accent' | 'primary' | 'inherit' | string;
|
||||
TabScrollButton?: React.ReactType;
|
||||
textColor?: 'secondary' | 'primary' | 'inherit' | string;
|
||||
value: any;
|
||||
width?: string;
|
||||
}
|
||||
|
||||
@@ -28,8 +25,11 @@ export type TabsClassKey =
|
||||
| 'scrollingContainer'
|
||||
| 'fixed'
|
||||
| 'scrollable'
|
||||
| 'centered'
|
||||
;
|
||||
| 'centered';
|
||||
|
||||
export interface TabsActions {
|
||||
updateIndicator(): void;
|
||||
}
|
||||
|
||||
declare const Tabs: React.ComponentType<TabsProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user