1.0.0 • Published 6 years ago
react-hexagonal-progressbar v1.0.0
React Hexagonal Progressbar
It is a simple Hexagobal progress component created for react based only on SVG graphics and has various of options to customize it.

Install
npm install react-hexagonal-progressbaror
yarn add react-hexagonal-progressbarSample
<HexagonalProgressbar
value={80}
lineCap="line|round"
color="#00FF00"
level={5}
location="rightTop|rightBottom|leftBottom|leftTop"
/>props
| Props | Type | Default | Description |
|---|---|---|---|
| value | number | 0 | Number of percent you want to show |
| badgeImg | any | null | icon inside your badge, png, svg, ... |
| disabled | bool | false | to disable you badge |
| color | string | red | color hexa, string or rgb |
| level | number | null | optional props to display the current level |
| lineCap | stirng | round | options: line, round |
| location | string | rightTop | options:rightTop, rightBottom, leftBottom, leftTop |
1.0.0
6 years ago