export default withTheme; export type Theme = typeof themes.THEME_LIGHT | typeof themes.THEME_DARK; /** * @template {typeof React.Component<{ theme?: Theme }>} T * @param {T} Component * @returns {T} */ declare function withTheme>(Component: T): T; export const Provider: React.Provider; import * as themes from '../configs/themes'; import React from 'react';