UNPKG
@emotion/react
Version:
latest (11.14.0)
next (11.0.0-next.10)
rc (11.0.0-rc.0)
11.14.0
11.13.5
11.13.3
11.13.0
11.12.0
11.11.4
11.11.3
11.11.1
11.11.0
11.10.8
11.10.6
11.10.5
11.10.4
11.10.0
11.9.3
11.9.0
11.8.2
11.8.1
11.8.0
11.7.1
11.7.0
11.6.0
11.5.0
11.4.1
11.4.0
11.1.5
11.1.4
11.1.3
11.1.2
11.1.1
11.1.0
11.0.0
11.0.0-rc.0
11.0.0-next.19
11.0.0-next.17
11.0.0-next.16
11.0.0-next.15
11.0.0-next.14
11.0.0-next.13
11.0.0-next.12
11.0.0-next.11
11.0.0-next.10
> Simple styling in React.
emotion-js/emotion
@emotion/react
/
src
/
css.js
11 lines
(7 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// @flow
import
type {
Interpolation
,
SerializedStyles
}
from
'@emotion/utils'
import
{ serializeStyles }
from
'@emotion/serialize'
function
css
(
...args:
Array
<Interpolation>
):
SerializedStyles
{
return
serializeStyles
(args) }
export
default
css