@material-ui/core
Version:
React components that implement Google's Material Design.
15 lines (10 loc) • 363 B
TypeScript
import { Theme } from './createMuiTheme';
import { PropInjector } from '@material-ui/types';
export interface WithTheme {
theme: Theme;
}
export interface ThemedComponentProps extends Partial<WithTheme> {
innerRef?: React.Ref<any> | React.RefObject<any>;
}
declare const withTheme: PropInjector<WithTheme, ThemedComponentProps>;
export default withTheme;