я возможно тоже))
Сильная разница?
const stylesheet = createStyleSheet(theme => ({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: theme.colors.background
},
text: {
color: theme.colors.typography
}
}))
или
```
const stylesheet = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
// backgroundColor: theme.colors.background нет theme
},
text: {
// color: theme.colors.typography нет theme
}
}))
```