React Native styling properties
List of known React Native specific styling properties.
Sources for supported properties:
Install
yarn add react-native-known-styling-properties --dev
or
npm install react-native-known-styling-properties --save-dev
API
To get list of all styling properties supported by React Native:
import { allProps } from "react-native-known-styling-properties";
To get list of all styling properties supported by css-to-react-native:
import { allCSS2RNProps } from "react-native-known-styling-properties";
The result is an array of supported styling properties:
allProps = [
"alignItems",
"alignSelf",
"flex",
"flexDirection",
"flexWrap",
...
]