const styles = stylesheet.create( code example
Example 1: border react native
button: {
borderWidth: 4,
borderColor: "#20232a",
}
Example 2: styles in react native
//Import
import { StyleSheet} from 'react-native';
//Add style in React native component this way
<View style={styles.container}>
</View>
//create your style this way
const styles = StyleSheet.create({
container: {
marginTop: 50,
},
});