I'd like to know if there is something like what can be done in .less with StyleSheet object in React Native to group some objects.
For example if I render something like this :
<View style={styles.wrapper}>
<View style={styles.wrapper.left}></View>
<View style={styles.wrapper.right}></View>
</View>
and have a stylesheet object like this :
const styles = StyleSheet.create({
wrapper: {
/* Some properties */,
left: {
/* Some properties */,
},
right: {
/* Some properties */,
},
}
})
Thanks !