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, useuseTheme()instead.themed.COMPOSE⇒THEME_COMPOSE.themed.PRIORITY⇒THEME_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 export | aliased react-themes export |
|---|---|
themed | themed() |
themed.COMPOSE | COMPOSE |
themed.PRIORITY | PRIORITY |
ThemeProvider | ThemeProvider |