rmwc
Version:
A thin React wrapper for Material Design (Web) Components
14 lines (13 loc) • 421 B
TypeScript
import * as React from 'react';
export declare type WithThemePropsT = {
theme?: string | string[];
className?: string;
};
/**
* Actually parses the theme options
*/
export declare const parseThemeOptions: (theme: string | string[] | null) => string[];
/**
* HOC that adds themeability to any component
*/
export declare const withTheme: (Component: React.ComponentType<any>) => React.StatelessComponent<any>;