Skip to content

Instantly share code, notes, and snippets.

@Billmike
Created November 7, 2019 14:36
Show Gist options
  • Save Billmike/55d10cda149d7f1557a772e9e604e8d9 to your computer and use it in GitHub Desktop.
Save Billmike/55d10cda149d7f1557a772e9e604e8d9 to your computer and use it in GitHub Desktop.
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