()
| 35 | } |
| 36 | |
| 37 | export function CustomValueLabelExample() { |
| 38 | return ( |
| 39 | <Progress |
| 40 | value={3} |
| 41 | minValue={0} |
| 42 | maxValue={10} |
| 43 | getValueLabel={({ value, max }) => `${value} of ${max} tasks completed`} |
| 44 | class={style.progress} |
| 45 | > |
| 46 | <div class={style["progress__label-container"]}> |
| 47 | <Progress.Label class={style.progress__label}> |
| 48 | Processing... |
| 49 | </Progress.Label> |
| 50 | <Progress.ValueLabel class={style["progress__value-label"]} /> |
| 51 | </div> |
| 52 | <Progress.Track class={style.progress__track}> |
| 53 | <Progress.Fill class={style.progress__fill} /> |
| 54 | </Progress.Track> |
| 55 | </Progress> |
| 56 | ); |
| 57 | } |
nothing calls this directly
no outgoing calls
no test coverage detected