Skip to content

An arrow of arbitrary size, arbitrary direction, and arbitrary angle

Notifications You must be signed in to change notification settings

ykforerlang/rc-arrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc-arrow

中文文档

An arrow of arbitrary size, arbitrary direction, and arbitrary angle

Example screenshot

simple simulate select 发散箭头
simple simulate select 发散箭头

Install

npm install rc-arrow --save

import Arrow from 'rc-arrow'

class Hw extends Component {
    render() {
        return (
            <Arrow size="20px" color="red"/>
        )
    }
}

Example

online example

Example code

props

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

About

An arrow of arbitrary size, arbitrary direction, and arbitrary angle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published