1.0.0 • Published 3 years ago

@tntx/risk-rate v1.0.0

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

风险评估结果

安装

npm i @tntx/risk-rate --save

使用

import React from 'react';
import RiskRate from '@tntx/risk-rate';

export default () => {
	return (
		<RiskRate
			color='#07C790'
			text='通过'
			count={67}
			width={100}
		/>
	);
};

API

参数说明类型是否必须默认值
width水波球宽度string200px
color水波球颜色(十六进制)string#07C790
text评估结果文字string
count评估结果分数Number0