1.0.0 • Published 6 months ago

@tntx/wave-react v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

水波进度球

安装

npm i @tntx/wave-react
# or
yarn add @tntx/wave-react

使用

import React from 'react';
import Wave from '@tntx/wave-react';

export default () => {
  return <Wave color="#E86452" range={67} width={400} />;
};

API

参数说明类型是否必须默认值
width水波球宽度string200px
color水波球颜色(十六进制)string#07C790
fontSize字体大小small | default | largedefault
range水波球百分比0~100Number0
fontFamily字体string"宋体"
1.0.0

6 months ago