Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React, { Component, PropTypes } from 'react'
import { StyleSheet } from 'fela-tools'
import { Text, View } from 'react-native'
const rules = StyleSheet.create({
container: props => ({
flex: 1,
justifyContent: 'center',
alignItems: 'center',
'@media (min-width: 200px)': {
backgroundColor: 'yellow'
},
'@media (orientation: landscape)': {
backgroundColor: 'red'
},
'@media (orientation: portrait)': {
backgroundColor: 'blue'
}
}),
welcome: {