Skip to main content

themed

Deprecated

Aliases for react-themes library were changed in the library version v1.48.0, and the corresponding documentation page has been moved to React Themes:

  • themed ⇒ Removed, use useTheme() instead.
  • themed.COMPOSETHEME_COMPOSE.
  • themed.PRIORITYTHEME_PRIORITY.

Original Documentation

Valid for the library versions before v1.48.0.

import { themed } from '@dr.pogodin/react-utils';

These exports encapsulate React Themes library for visual styling of ReactJS components with theme composition. They are just aliases for exports from React Themes:

react-utils exportaliased react-themes export
themedthemed()
themed.COMPOSECOMPOSE
themed.PRIORITYPRIORITY
ThemeProviderThemeProvider