Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
View,
} from 'react-native-macos';
// 3rd party libraries
import { inject, observer } from 'mobx-react/native';
import { nativeHistory } from 'react-router-native';
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
height: 65,
backgroundColor: 'black',
borderBottomColor: '#CCCCCC',
borderBottomWidth: StyleSheet.hairlineWidth,
},
stock: {
flex: 8,
flexDirection: 'column',
},
symbol: {
flex: 1,
flexDirection: 'row',
},
symbolText: {
fontSize: 15,
color: 'white',
textAlign: 'left',
marginTop: 10,
marginBottom: 5,
marginRight: 10,
// 3rd party libraries
import { inject, observer } from 'mobx-react/native';
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'black',
marginLeft: 10,
marginRight: 10,
flexDirection: 'row',
height: 50,
justifyContent: 'space-between',
alignItems: 'center',
borderBottomColor: '#CCCCCC',
borderBottomWidth: StyleSheet.hairlineWidth,
},
selected: {
backgroundColor: '#202020',
},
symbol: {
flex: 3,
},
symbolText: {
fontSize: 16,
color: 'white',
textAlign: 'left',
marginTop: 10,
marginBottom: 10,
marginRight: 10,
},
price: {
View,
} from 'react-native-macos';
// 3rd party libraries
import { inject, observer } from 'mobx-react/native';
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'black',
flexDirection: 'row',
justifyContent: 'center',
marginHorizontal: 15,
height: 65,
borderBottomColor: '#CCCCCC',
borderBottomWidth: StyleSheet.hairlineWidth,
},
deleteIcon: {
flex: 1,
alignSelf: 'center',
},
deleteText: {
fontSize: 15,
color: '#FC3D39',
textAlign: 'left',
},
stock: {
flex: 8,
flexDirection: 'column',
},
symbol: {
flex: 1,
container: {
flex: 1,
backgroundColor: 'black',
},
statusBar: {
height: 22,
backgroundColor: '#202020',
},
navigatorBar: {
height: 36,
flexDirection: 'row',
padding: 10,
justifyContent: 'space-between',
alignItems: 'center',
backgroundColor: '#202020',
borderBottomWidth: StyleSheet.hairlineWidth,
borderBottomColor: '#424242',
},
topBlock: {
flex: 1,
},
bottomBlock: {
flexDirection: 'row',
paddingLeft: 15,
paddingRight: 15,
marginBottom: 10,
},
title: {
fontSize: 30,
alignSelf: 'center',
marginBottom: 30,
},
alignSelf: 'center',
marginBottom: 30,
},
buttonLeft: {
height: 36,
borderColor: '#3CABDA',
borderWidth: StyleSheet.hairlineWidth * 2,
flex: 1,
borderTopLeftRadius: 4,
borderBottomLeftRadius: 4,
justifyContent: 'center',
},
buttonMiddle: {
height: 36,
borderColor: '#3CABDA',
borderWidth: StyleSheet.hairlineWidth * 2,
flex: 1,
justifyContent: 'center',
},
buttonRight: {
height: 36,
borderColor: '#3CABDA',
borderWidth: StyleSheet.hairlineWidth * 2,
flex: 1,
borderTopRightRadius: 4,
borderBottomRightRadius: 4,
justifyContent: 'center',
},
buttonSelected: {
backgroundColor: '#3CABDA',
},
buttonText: {
nameBlock: {
flex: 1,
paddingTop: 4,
justifyContent: 'center',
alignItems: 'center',
},
nameText: {
fontWeight: 'bold',
fontSize: 12,
color: 'white',
},
details: {
flex: 5,
flexDirection: 'column',
borderTopWidth: StyleSheet.hairlineWidth,
borderBottomWidth: StyleSheet.hairlineWidth,
borderColor: 'white',
},
detailsRow: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
detailsRowColumn: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingLeft: 5,
paddingRight: 5,
},
detailsRow: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
detailsRowColumn: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingLeft: 5,
paddingRight: 5,
},
separator: {
height: StyleSheet.hairlineWidth,
backgroundColor: 'white',
},
separatorThin: {
height: StyleSheet.hairlineWidth,
backgroundColor: '#A6A6A6',
},
propertyText: {
fontSize: 12,
color: '#A6A6A6',
textAlign: 'left',
},
valueText: {
fontSize: 15,
color: 'white',
textAlign: 'right',
},
},
nameBlock: {
flex: 1,
paddingTop: 4,
justifyContent: 'center',
alignItems: 'center',
},
nameText: {
fontWeight: 'bold',
fontSize: 12,
color: 'white',
},
details: {
flex: 5,
flexDirection: 'column',
borderTopWidth: StyleSheet.hairlineWidth,
borderBottomWidth: StyleSheet.hairlineWidth,
borderColor: 'white',
},
detailsRow: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
detailsRowColumn: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingLeft: 5,
paddingRight: 5,