rc-arrow
v1.0.2
Published
任意大小,任意方向, 任意角度的箭头
Downloads
9
Readme
rc-arrow
任意大小,任意方向, 任意角度的箭头
示例截图
|简单箭头|模拟select |发散箭头 | | :----:|:----:|:----:| ||||
Install
npm install rc-arrow --save
import Arrow from 'rc-arrow'
class Hw extends Component {
render() {
return (
<Arrow size="20px" color="red"/>
)
}
}
Example
props
| name | type | default | description| | :----: |:----: |:----: |:----: | | degree| number| 90| 箭头的张角, 角度制| | offsetDegree| number| 0| 箭头的方向,默认指向右边| | color| string| -| 箭头的颜色| | size| string|10px| 箭头边长|