An arrow of arbitrary size, arbitrary direction, and arbitrary angle
An arrow of arbitrary size, arbitrary direction, and arbitrary angle
Example screenshot
simple | simulate select | 发散箭头 |
---|---|---|
![]() |
![]() |
![]() |
npm install rc-arrow --save
import Arrow from 'rc-arrow'
class Hw extends Component {
render() {
return (
<Arrow size="20px" color="red"></Arrow>
)
}
}
name | type | default | description |
---|---|---|---|
degree | number | 90 | the angle of the arrow |
offsetDegree | number | 0 | the direction of the arrow, |
The default direction is on the right |
| color| string| -| the color of the arrow |
| size| string|10px| the size of the arrow |