react-native-known-styling-properties

1.3.0 • Public • Published

React Native styling properties

NPM version Build Status contributions welcome

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",
  ...
]

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-known-styling-properties

Weekly Downloads

8,425

Version

1.3.0

License

MIT

Unpacked Size

17.1 kB

Total Files

12

Last publish

Collaborators

  • kristerkari