@emotion/utils
0.0.4
0.0.5
0.1.0
0.2.0
0.4.0
0.4.1
0.5.0
0.6.0
0.6.1
0.7.0
0.7.1
0.7.2
0.7.3
0.8.0
0.8.1
0.8.2
0.9.0
0.10.0
0.10.1
0.11.0
0.11.1
0.11.2
0.11.3
1.0.0-next.0
1.0.0-next.1
1.0.0-rc.0
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.4.0
1.4.1
1.4.2
10.0.0-really-unsafe-please-do-not-use.0
10.0.0-really-unsafe-please-do-not-use.1
10.0.0-really-unsafe-please-do-not-use.2
Types
Source
Search for an npm package
"@emotion/utils"
getRegisteredStyles
registerStyles
insertStyles
1 Re-exports
RegisteredCache
SerializedStyles
EmotionCache
@emotion/utils
decl
module
"@emotion/utils"
{
getRegisteredStyles
decl
export function
getRegisteredStyles
(
registered
:
RegisteredCache
,
registeredStyles
:
string
[]
,
classNames
:
string
)
:
string
registerStyles
decl
export const
registerStyles
:
(
cache
:
EmotionCache
,
serialized
:
SerializedStyles
,
isStringTag
:
boolean
)
=>
void
= ...
insertStyles
decl
export const
insertStyles
:
(
cache
:
EmotionCache
,
serialized
:
SerializedStyles
,
isStringTag
:
boolean
)
=>
string
|
undefined
= ...
export
{
StyleSheet
,
}
from
"unknown"
RegisteredCache
decl
export type
RegisteredCache
=
Record
<
string
,
string
|
undefined
>
Referenced by
getRegisteredStyles
EmotionCache
SerializedStyles
decl
export type
SerializedStyles
=
{
name
:
string
;
styles
:
string
;
next
?:
SerializedStyles
;
}
Referenced by
registerStyles
insertStyles
EmotionCache
EmotionCache
decl
export type
EmotionCache
=
{
inserted
:
Record
<
string
,
string
|
true
|
undefined
>
;
registered
:
RegisteredCache
;
sheet
:
StyleSheet
;
key
:
string
;
compat
?:
true
;
nonce
?:
string
;
insert
:
(
selector
:
string
,
serialized
:
SerializedStyles
,
sheet
:
StyleSheet
,
shouldCache
:
boolean
)
=>
string
|
void
;
}
Referenced by
registerStyles
insertStyles
}