0.1.6 • Published 4 years ago
@ispong/react-keycap v0.1.6
🐣 Introduce
React Keycap is UI component library for React. It is important to state that this project is personally developed and maintained, and enterprise projects are recommended to be used with caution. Welcome to develop together, hope to become an enterprise-level development UI library.
📦 Installation
- for Npm
npm install @ispong/react-keycap --save-dev
- for Yarn
yarn add @ispong/react-keycap --dev
🔨 Usage
import React from 'react'
import ReactDOM from 'react-dom'
import { Button } from '@ispong/react-keycap'
const App = () => (
<>
<Button which={'primary'} label={'Hello'} />
</>
)
const mountNode = document.getElementById('root')
ReactDOM.render(<App/>, mountNode)
📄 Documentation
You can find the React Keycap documentation on the website.