@foo-software/react-toolbox
Version:
A set of React components implementing Google's Material Design specification with the power of CSS Modules.
10 lines (7 loc) • 356 B
TypeScript
import * as React from 'react';
export interface ActivableRendererFactoryOptions {
delay?: number;
}
export default function ActivableRendererFactory<P>(options?: ActivableRendererFactoryOptions):
(<TFunction extends React.ComponentClass<P>>(target: TFunction) => TFunction) &
((clazz: React.StatelessComponent<P>) => React.StatelessComponent<P>);