1.1.13 • Published 2 years ago

hong-react-ui v1.1.13

Weekly downloads
370
License
-
Repository
-
Last release
2 years ago

hong-react-ui

一套基于 React HookTypescript 编写的 PC 端组件库

npm.io

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

预览地址

安装

$ npm install hong-react-ui
$ yarn add hong-react-ui

使用

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'hong-react-ui';
import 'hong-react-ui/dist/index.css';

ReactDOM.render(
  <div>
    <Button type="primary">Primary</Button>
  </div>,
  mountNode,
);

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

特别提醒

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

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

如果您觉得还不错,请 star

1.1.13

2 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago