@talves/itui-core

0.3.0-alpha.0 • Public • Published

@talves/itui-core

Core Emotion and JSX implementation for Theme UI uses an isolated context to return

Note: This package is included in the main itui package, and generally should not be used on its own.

yarn add @talves/itui-core

API

  • ThemeProvider
  • createThemeProvider
const IsolatedContext = createContext() // 
const {
  Context,
  ThemeProvider,
  useIsolatedThemeUI,
  ColorModeProvider,
  useColorMode,
} = createThemeProvider(IsolatedContext)

Readme

Keywords

none

Package Sidebar

Install

npm i @talves/itui-core

Weekly Downloads

0

Version

0.3.0-alpha.0

License

MIT

Unpacked Size

41.3 kB

Total Files

9

Last publish

Collaborators

  • talves