Skip to content

Commit

Permalink
[typescript] Add typings to reactHelpers (#9565)
Browse files Browse the repository at this point in the history
  • Loading branch information
SSW-SCIENTIFIC authored and oliviertassinari committed Dec 20, 2017
1 parent a28982e commit 26d57f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils/reactHelpers.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import * as React from 'react';

export function cloneChildrenWithClassName<T>(
children: React.ReactNode,
className: string
): T[];

export function isMuiElement(element: any, muiNames: Array<string>): boolean;
export function isMuiComponent(element: any, muiNames: Array<string>): boolean;

0 comments on commit 26d57f6

Please sign in to comment.