[go: nahoru, domu]

Skip to content

Commit

Permalink
Rebuild API doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
twisty committed Nov 12, 2019
1 parent 6045acd commit 68c4bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
| backgroundTransparent | boolean | true | false | Whether to display the centre of the ring as transparent |
| showIntermediateProgress | boolean | false | false | Whether to display the 'intermediate' progress bar |
| segmented | boolean | true | false | Whether to segment the steps by displaying a gap between them |
| fontRatio | number | 4 | false | The number the radius is divided by to set the font size |
| text | (steps: number, proportion: number) =&gt; React.Node | (steps: number, proportion: number) => {<br> const step = Math.floor(steps * proportion);<br> return `${step}/${steps}`;<br>} | false | A function that returns the content that is displayed in the centre of the ring |

0 comments on commit 68c4bc8

Please sign in to comment.