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 from 'react';
import { View, Text, ScrollView, TextInput, Button, StyleSheet } from 'react-native';
import {ScaledSheet} from 'react-native-size-matters';
import withScaledSheetSwitch from './behaviors/withScaledSheetSwitch';
const scaledSheet = ScaledSheet.create({
container: {
flex: 1,
width: '100%',
height: '100%'
},
inputBox: {
alignSelf: 'stretch',
height: '45@ms',
padding: '6@ms',
flexDirection: 'row',
},
textInput: {
paddingHorizontal: '10@ms0.3',
flex: 1,
borderRadius: '25@ms',
backgroundColor: 'white',
import React from 'react';
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
import {ScaledSheet} from 'react-native-size-matters';
import withScaledSheetSwitch from './behaviors/withScaledSheetSwitch';
const scaledStyles = ScaledSheet.create({
container: {
flex: 1,
width: '100%',
height: '100%',
alignItems: 'center',
justifyContent: 'center'
},
button: {
width: '250@ms',
height: '80@ms',
borderColor: '#696969',
backgroundColor: 'white',
alignItems: 'center',
justifyContent: 'center',
marginVertical: '25@vs',
elevation: 3,