UNPKG
@emotion/native
Version:
latest (11.11.0)
next (11.0.0-next.19)
rc (11.0.0-rc.0)
11.11.0
11.10.6
11.10.0
11.9.3
11.0.0
11.0.0-rc.0
11.0.0-next.19
11.0.0-next.18
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
11.0.0-next.9
11.0.0-next.8
11.0.0-next.7
11.0.0-next.6
11.0.0-next.5
11.0.0-next.4
11.0.0-next.3
11.0.0-next.2
11.0.0-next.1
11.0.0-next.0
10.0.27
10.0.22
10.0.14
10.0.11
10.0.10
10.0.9
10.0.8
10.0.7
10.0.6
10.0.5
10.0.4
10.0.3
10.0.2
10.0.1
10.0.0
10.0.0-really-unsafe-please-do-not-use.2
10.0.0-really-unsafe-please-do-not-use.1
10.0.0-really-unsafe-please-do-not-use.0
10.0.0-beta.13
10.0.0-beta.12
10.0.0-beta.11
10.0.0-beta.10
10.0.0-beta.8
10.0.0-beta.7
10.0.0-beta.6
10.0.0-beta.5
10.0.0-beta.4
10.0.0-beta.3
10.0.0-beta.2
10.0.0-beta.1
10.0.0-beta.0
9.2.9
9.2.7
Style and render React Native components using emotion
emotion.sh
emotion-js/emotion
@emotion/native
/
src
/
base.js
10 lines
(7 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
StyleSheet
}
from
'react-native'
import
{ createStyled }
from
'@emotion/primitives-core'
/** * a function that returns a styled component which render styles in React Native */
let
styled =
createStyled
(
StyleSheet
)
export
{ styled }