17 | {/* Has an extra div wrapper because otherwise, adding content after
18 | this progressbar is spaced weirdly. */}
19 |
20 | {/* Progressbar is not positioned absolutely, so that it can establish
21 | intrinsic size for props.children's content. */}
22 |
23 |
24 | {/* Children are positioned absolutely, and height adapts to the
25 | progressbar's intrinsic size. It appears below the progressbar,
26 | but negative margin moves it back up. */}
27 | {props.children ? (
28 |
41 | {props.children}
42 |
43 | ) : null}
44 |