// create Style.js import { StyleSheet } from 'react-native'; export default StyleSheet.create({ container: { flex: 1 }, welcome: { fontSize: 20 } }); /* import it where you want to use it import styles from './Style' */