1.0.2 • Published 3 years ago

@tntx/wave v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

水波进度球

安装

npm i @tntx/wave --save

使用

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

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.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago