ecoinomist / react-ui-pack

Reusable React Components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reusable React Components

Installation

yarn add react-ui-pack

1. Initial Setup

import { FILE, STYLE } from 'react-ui-pack'

FILE.PATH_IMAGES = '/static/img' // default is `/static/images`
STYLE.ANIMATION_DURATION = 300 // default is 500
STYLE.GREEN = 'rgb(55, 145, 75)' // set green color
STYLE.PRIMARY = STYLE.GREEN // set primary color to green
STYLE.SECONDARY = STYLE.RED

2. Use Components

import Table from 'react-ui-pack/Table'

About

Reusable React Components

License:MIT License


Languages

Language:JavaScript 100.0%