diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/onboarding/SubmitButton.tsx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/onboarding/SubmitButton.tsx b/src/components/onboarding/SubmitButton.tsx index d6a0d8d5..4a03bf52 100644 --- a/src/components/onboarding/SubmitButton.tsx +++ b/src/components/onboarding/SubmitButton.tsx @@ -14,7 +14,7 @@ interface SubmitButtonProps extends TouchableOpacityProps { /* * A button component that creates a TouchableOpacity in the style of our onboarding buttons. It takes in props to define the text in the TouchableOpacity as well as the background color. -*/ + */ const SubmitButton: React.FC<SubmitButtonProps> = ( props: SubmitButtonProps, ) => { @@ -22,11 +22,7 @@ const SubmitButton: React.FC<SubmitButtonProps> = ( <View {...props}> <TouchableOpacity {...props} - style={[ - styles.button, - {backgroundColor: props.color}, - ]} - > + style={[styles.button, {backgroundColor: props.color}]}> <Text style={styles.text}>{props.text}</Text> </TouchableOpacity> </View> |