it is possible. just create a js file with this template:
'use strict'; var React = require('react-native'); var myStyles = React.StyleSheet.create({ style1: { }, style2: { } )} module.exports = myStyles;
then in your js component you need to use this stylesheet for example. if your js style file is called phongyewtong.js
var s = require('../the/path/to/phongyewtong');
using:
<View style = {s.style1} />
source share