StyleSheet.hairlineWidth code example Example: border react native button: { borderWidth: 4, borderColor: "#20232a", }