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

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i react-native-known-styling-properties

    Weekly Downloads

    7,703

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    17.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • kristerkari