Created
April 27, 2021 17:57
-
-
Save Pasi-D/5965dc8ad49d991a226be37946fd111d to your computer and use it in GitHub Desktop.
Medium Demo - Custom Style file for react native styling
This file contains hidden or 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 { StyleSheet } from "react-native"; | |
import { Theme } from "themes"; | |
const styles = (theme: Theme) => | |
StyleSheet.create({ | |
spinnerContainer: { | |
flex: 1, | |
alignItems: "center", | |
justifyContent: "center", | |
color: theme.colors?.primary, | |
}, | |
}); | |
export default styles; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment