ac-barcode-test
条形码组件
Last updated a year ago by jonyw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ac-barcode-test 
SYNC missed versions from official npm registry.

ac-barcode

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

react ac-barcode component for tinper-bee

some description...

依赖

  • react >= 15.3.0
  • react-dom >= 15.3.0
  • prop-types >= 15.6.0

使用方法

npm install ac-barcode --save


import AcBarcode from "ac-barcode";

render(){
    return (<AcBarcode value="9787123" />)
}

API

参数 默认值 类型
value " String
renderer svg (svg,canvas,img) String
format "auto" (CODE128) String
width 2 Number
height 100 Number
displayValue true Boolean
fontOptions "" String
font "monospace" String
textAlign "center" String
textPosition "bottom" String
textMargin 2 Number
fontSize 20 Number
background "#ffffff" String (CSS color)
lineColor "#000000" String (CSS color)
margin 10 Number
marginTop undefined Number
marginBottom undefined Number
marginLeft undefined Number
marginRight undefined Number

开发调试

$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-barcode
$ cd ac-barcode
$ npm install
$ npm run dev

Current Tags

  • 0.0.1                                ...           latest (a year ago)

1 Versions

  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |