@usthing/ui-core
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • 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-core @emotion/core @emotion/styled

# With yarn
yarn add @usthing/ui-core @emotion/core @emotion/styled

Import-by-demand (Only if your bundler does not support tree-shaking)

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

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import {Button} from '@usthing/ui-core'

cosnt App = () => (
  <Button>Hello USThing!!</Button>
)

ReactDOM.render(<App />, document.querySelector('#app'))

Readme

Keywords

none

Package Sidebar

Install

npm i @usthing/ui-core

Weekly Downloads

3

Version

2.2.0

License

MIT

Unpacked Size

11.2 MB

Total Files

386

Last publish

Collaborators

  • inizio1