Update link & sync UI
This commit is contained in:
parent
1c933af6ce
commit
6f1d767c72
14 changed files with 293 additions and 119 deletions
|
@ -7,9 +7,16 @@ export function ProgressBar({
|
|||
fractionComplete,
|
||||
isRTL,
|
||||
}: {
|
||||
fractionComplete: number;
|
||||
fractionComplete: number | null;
|
||||
isRTL: boolean;
|
||||
}): JSX.Element {
|
||||
if (fractionComplete == null) {
|
||||
return (
|
||||
<div className="ProgressBar">
|
||||
<div className="ProgressBar__fill ProgressBar__fill--spinning" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div className="ProgressBar">
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue