Where can I get a list of the style properties supported by React Native for each type of component?
标签:
react-native
相关问题
- React Native Inline style for multiple Text in sin
- How Do I Convert Image URI into Byte Expo
- ApolloClient from apollo-boost attemped to assign
- Implementing ssl pinning in a react-native applica
- React-Native: Enable Performance Monitor in produc
相关文章
- Why do we have to call `.done()` at the end of a p
- Remove expo from react native
- React Native - Dynamic Image Source
- “Unfortunately, app has stopped” error with buildi
- eslint Parsing error: Unexpected token =
- How to determine JS bottlenecks in React Native co
- How to override navigation options in functional c
- PanResponder snaps Animated.View back to original
I have extracted a list of valid styles from react native logs.
Below collection help me alot during regular work.
Implementation details are here: https://github.com/vhpoet/react-native-styling-cheat-sheet/blob/master/README.md
Here's a cheatsheet:
The supported styles are in the official documentation for each component. Here are the links for
View
andText
components:View
: https://facebook.github.io/react-native/docs/view.html#styleText
: https://facebook.github.io/react-native/docs/text.html#styleNote that where it says View Style Props... on the top of styles for Text, it means it also supports (most of) the styles that
View
supports.