npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

react-native-known-styling-properties

1.0.5 • Public • Published

React Native styling properties

NPM version Build Status Build status PRs 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",
  ...
]

Keywords

none

install

npm i react-native-known-styling-properties

Downloadsweekly downloads

1,405

version

1.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability