Created
November 7, 2019 14:36
-
-
Save Billmike/55d10cda149d7f1557a772e9e604e8d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react"; | |
import { View, StyleSheet } from "react-native"; | |
import { Feather as Icon } from "@expo/vector-icons"; | |
export const CHECK_ICON_SIZE = 35; | |
const styles = StyleSheet.create({ | |
container: { | |
width: CHECK_ICON_SIZE, | |
height: CHECK_ICON_SIZE, | |
borderRadius: CHECK_ICON_SIZE / 2, | |
justifyContent: "center", | |
alignItems: "center", | |
alignSelf: "center", | |
backgroundColor: "#3884ff" | |
} | |
}); | |
export default () => { | |
return ( | |
<View style={styles.container}> | |
<Icon name="check" color="white" size={24} /> | |
</View> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment