adorable-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

adorable-ui-react(持续更新中) 使用 TypeScript、React Hooks

一套好用的 PC 端 React 组件

GitHub license CircleCI npm version GitHub issues GitHub forks GitHub stars

组件仅供学习交流,请勿在生产环境中使用

特性

组件列表

  • Icon
  • button
  • Dialog
  • Layout
  • Form
  • Scroll
  • Tree

安装

npm install adorable-react
yarn add adorable-react

使用

import * as React from 'react'
import * as ReactDOM from 'react-dom'
import { Button } from 'adorable-react'
import 'adorable-react/lib/index.css'
 
ReactDOM.render(
  <div>
    <Button>Default</Button>
  </div>,
  mountNode
)
 

需要注意的是,样式文件需要单独引入。

特别提醒

使用 adorable-react 时,需要使用 border-box 盒模型,否则会影响样式。代码示例:

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

License

This project is licensed under the terms of the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i adorable-react

Weekly Downloads

1

Version

0.0.6

License

none

Unpacked Size

27.8 kB

Total Files

27

Last publish

Collaborators

  • xlchu