@aligov/business-rating
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

rax-example

评分组件,一共五颗星,暂不支持半个星星,暂不支持点击

Install

$ npm install rax-example --save

Usage

import RaxExample from 'rax-example';

API

Props

score, fullScore = 5, around

name type default describe
score number '' 分数
fullScore 总分 5 describe
around boolean 默认向下取整 是否取四舍五入

Function

name param return describe
name Object / describe

Example

import { createElement, render } from 'rax';
import DriverUniversal from 'driver-universal';
import RaxExample from 'rax-example';

render(<RaxExample />, document.body, { driver: DriverUniversal });

Readme

Keywords

Package Sidebar

Install

npm i @aligov/business-rating

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

124 kB

Total Files

16

Last publish

Collaborators

  • wanyi.css
  • jasoncapricorn
  • qingkaili
  • huguoxin
  • shenyu.wsy
  • liunian
  • tao1991123
  • itrip
  • xiazhiqiang
  • mo.zhou
  • guoliang.hgl
  • daip
  • baizhao