Completely updated React, fixed #11, (hopefully)
This commit is contained in:
19
goTorrentWebUI/node_modules/material-ui/utils/reactHelpers.d.ts
generated
vendored
19
goTorrentWebUI/node_modules/material-ui/utils/reactHelpers.d.ts
generated
vendored
@@ -1,4 +1,15 @@
|
||||
export function cloneChildrenWithClassName<T>(
|
||||
children: React.ReactNode,
|
||||
className: string
|
||||
): T[];
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '../';
|
||||
|
||||
export function cloneChildrenWithClassName<T>(children: React.ReactNode, className: string): T[];
|
||||
|
||||
type NamedMuiComponent = React.ComponentType<{}> & { muiName: string };
|
||||
|
||||
interface NamedMuiElement {
|
||||
type: NamedMuiComponent;
|
||||
props: StandardProps<{}, never>;
|
||||
key: string | number | null;
|
||||
}
|
||||
|
||||
export function isMuiElement(element: any, muiNames: string[]): element is NamedMuiElement;
|
||||
export function isMuiComponent(element: any, muiNames: string[]): element is NamedMuiComponent;
|
||||
|
Reference in New Issue
Block a user