wix-style-react
Version:
wix-style-react
41 lines • 1.83 kB
TypeScript
export default ThemeProvider;
/** ThemeProvider */
declare class ThemeProvider extends React.PureComponent<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
_parseTheme(theme: any): {};
render(): React.JSX.Element;
}
declare namespace ThemeProvider {
let displayName: string;
namespace propTypes {
let dataHook: PropTypes.Requireable<string>;
let theme: PropTypes.Requireable<PropTypes.InferProps<{
className: PropTypes.Requireable<string>;
icons: PropTypes.Requireable<object>;
componentWrapper: PropTypes.Requireable<(...args: any[]) => any>;
color00: PropTypes.Requireable<string>;
color05: PropTypes.Requireable<string>;
color10: PropTypes.Requireable<string>;
color20: PropTypes.Requireable<string>;
color30: PropTypes.Requireable<string>;
color40: PropTypes.Requireable<string>;
color50: PropTypes.Requireable<string>;
color60: PropTypes.Requireable<string>;
textColorPrimary: PropTypes.Requireable<string>;
textColorSecondary: PropTypes.Requireable<string>;
textColorPrimaryLight: PropTypes.Requireable<string>;
textColorSecondaryLight: PropTypes.Requireable<string>;
dividerColor: PropTypes.Requireable<string>;
borderRadius02: PropTypes.Requireable<string>;
borderRadius04: PropTypes.Requireable<string>;
borderRadius06: PropTypes.Requireable<string>;
borderRadius08: PropTypes.Requireable<string>;
buttonBorderRadius: PropTypes.Requireable<string>;
}>>;
}
let defaultProps: {};
}
import React from 'react';
import PropTypes from 'prop-types';
//# sourceMappingURL=ThemeProvider.d.ts.map