diff options
author | Husam Salhab <47015061+hsalhab@users.noreply.github.com> | 2020-07-14 10:10:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 10:10:18 -0400 |
commit | 3547018e9f803a5ff747126e16b9ef559c3f95cf (patch) | |
tree | 6041b64fcedfb6885dafa1ee496641b85b34783a /src/components/onboarding/SubmitButton.tsx | |
parent | 5dee1e585353b6d7407f521dfa9186dbf10e8226 (diff) |
Add linter to Github Actions (#18)
* added lint.yml
* updated to run on PRs
* uses yarn lint
* fixed linting error
* fixed some more linting
Diffstat (limited to 'src/components/onboarding/SubmitButton.tsx')
-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> |