Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -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;