Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @flow
import { StyleSheet, Text, View, Image } from 'react-primitives'
import { createCss } from '@emotion/primitives-core'
import { styled as createStyled } from './styled'
const css = createCss(StyleSheet)
const assignPrimitives = styled => {
createStyled.Text = createStyled(Text)
createStyled.View = createStyled(View)
createStyled.Image = createStyled(Image)
return styled
}
export { css }
export default /* #__PURE__ */ assignPrimitives(createStyled)
import * as reactNative from 'react-native'
import { createCss } from '@emotion/primitives-core'
import { styled } from './styled'
const css = createCss(reactNative.StyleSheet)
const components = [
'ActivityIndicator',
'ActivityIndicatorIOS',
'ART',
'Button',
'DatePickerIOS',
'DrawerLayoutAndroid',
'Image',
'ImageBackground',
'ImageEditor',
'ImageStore',
'KeyboardAvoidingView',
'ListView',
'MapView',
'Modal',