kristerkari / react-native-known-styling-properties

List of React Native specific styling properties.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

List of React Native specific styling properties.

License:MIT License


Languages

Language:JavaScript 100.0%