UNPKG

open-library

Version:

开放组件库

55 lines (37 loc) 1.01 kB
# library ## Hello Open library! ![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square) ![npm download](https://img.shields.io/npm/dm/open-library.svg?style=flat-square) ![bundle size](https://badgen.net/bundlephobia/minzip/open-library) 文档地址:http://106.225.185.9:8090/ ## 🎁 目前已有组件: ``` 仿照优酷切换小轮播组件(预废弃,改造) 指标组件 放大镜组件 ``` ## 🎉Install ``` npm install open-library 或 yarn add open-library ``` ## 😊Usage example 例如 ScaleBar 组件 ```jsx import React from 'react'; import { ScaleBar } from 'open-library'; ReactDOM.render(<ScaleBar current={2} />, mountNode); ``` ## ✨Feature: - 增加虎牙直播 card 组件 - 增加弹性填充盒子组件 - 支持 antd 的主题样式配置 - 支持 antd 的相关组件扩展,并且保持原 api 属性不变 ## 🔨Development ``` git clone https://gitee.com/xiaoguoyao/open-library.git npm install npm start ``` 个人开源组件库