usthing-ui

1.3.1-patch2 • Public • Published

USThing.UI

🤘 UI library for USThing

Documentation

Checkout our Documentation site

Installation

USThing-UI is available as an npm package.

# With npm 
npm i usthing-ui react prop-types immutable # immutable is only needed if you use <Editor/> 
 
# With yarn 
yarn add usthing-ui react prop-types immutable

Import-by-demand

  1. In .babelrc
plugins: [
  ["import", {
    "libraryName": "usthing-ui",
    "libraryDirectory": "lib",
    "camel2DashComponentName": true
  }]
]

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import {Provider, Button} from 'usthing-ui'
 
cosnt App = () => (
  <Provider>
    <Button>Hello USThing!!</Button>
  </Provider>
)
 
ReactDOM.render(<App />, document.querySelector('#app'))

Readme

Keywords

none

Package Sidebar

Install

npm i usthing-ui

Weekly Downloads

3

Version

1.3.1-patch2

License

MIT

Unpacked Size

6.92 MB

Total Files

357

Last publish

Collaborators

  • inizio1