0.0.4 • Published 6 years ago
pps-label v0.0.4
label组件。
何时使用
npm install pps-label -S
import Label from 'pps-label';
API
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
labelVal | 左侧文字 | string | 'hello' |
labelColor | 文字颜色 | string | '#040405' |
textVal | 右侧文字 | string | 'world' |
textColor | 文字颜色 | string | '#0404055' |