toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-emotion
/
emotion.react
Package-level
declarations
Types
Functions
Properties
Types
Global
Props
Link copied to clipboard
external
interface
GlobalProps
:
Props
Theme
Link copied to clipboard
external
interface
Theme
Theme
Provider
Props
Link copied to clipboard
external
interface
ThemeProviderProps
:
PropsWithChildren
Properties
Cache
Provider
Link copied to clipboard
external
val
CacheProvider
:
Provider
<
EmotionCache
>
Global
Link copied to clipboard
external
val
Global
:
FC
<
GlobalProps
>
Theme
Provider
Link copied to clipboard
external
val
ThemeProvider
:
FC
<
ThemeProviderProps
>
Functions
css
Link copied to clipboard
inline
fun
PropsWithClassName
.
css
(
crossinline
block
:
PropertiesBuilder
.
(
)
->
Unit
)
inline
fun
PropsWithClassName
.
css
(
vararg
classNames
:
ClassName
?
,
crossinline
block
:
PropertiesBuilder
.
(
)
->
Unit
)
styles
Link copied to clipboard
inline
fun
GlobalProps
.
styles
(
crossinline
block
:
RuleBuilder
<
PropertiesBuilder
>
.
(
)
->
Unit
)
use
Theme
Link copied to clipboard
external
fun
useTheme
(
)
:
Theme