const { h } = require('preact') // http://codepen.io/Harkko/pen/rVxvNM // https://css-tricks.com/svg-line-animation-works/ // https://gist.github.com/eswak/ad4ea57bcd5ff7aa5d42 // circle length equals 2 * PI * R const circleLength = 2 * Math.PI * 15 // stroke-dashoffset is a percentage of the progress from circleLength, // substracted from circleLength, because its an offset module.exports = (props) => { return ( {!props.hidePauseResumeCancelButtons ? ( ) : null } ) }