CSS properties as JS objects. Jstyes makes easier style your view as javascript objects instead plain css. Made up thinking in React Native / React JS projects, but can be used in other contexts.
If you need some help you can open an issue or get in touch by email (contato@enriquerene.com.br).
There are some installation ways. You can choose the best way for you.
This way requires NodeJS. With NodeJS installad use yarn
or npm
:
$ yarn add style-objects
or
$ npm install style-objects
Clone the repo into your project:
$ git clone https://github.com/enriquerene/style-objects.git
Dowload the package and uncpack it into your project: Dowload ZIP
You can import all style objects from package:
import React from "react";
import styleObjects from "style-package";
const borderStyle = styleObjects.border.border // change this
const styledElement =
<div style={}></div>
or
$ npm install style-objects