diff --git a/docs/demo.jsx b/docs/demo.jsx index d858c47..28787af 100644 --- a/docs/demo.jsx +++ b/docs/demo.jsx @@ -68,23 +68,25 @@ class Demo extends React.Component {

Built with SVG and styled with plain CSS.

{ return percentage === 100 ? 'complete' : 'incomplete'; }} + textForPercentage={(percentage) => { + return percentage === 100 ? `${percentage}!!` : `${percentage}`; + }} /> `$${percentage}`} counterClockwise /> @@ -102,7 +104,7 @@ class Demo extends React.Component {