mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-01 05:56:40 +07:00
moved components to TypeScript
This commit is contained in:
parent
85b8860862
commit
0a01c91271
54 changed files with 2771 additions and 5134 deletions
src/components/dialogs
21
src/components/dialogs/ShotPrefetchDialog.tsx
Normal file
21
src/components/dialogs/ShotPrefetchDialog.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
import * as React from 'react';
|
||||
|
||||
interface Props {
|
||||
renderer: {
|
||||
info: string,
|
||||
progress: number,
|
||||
}
|
||||
}
|
||||
|
||||
export const ShotPrefetchDialog = ({ renderer: { info, progress }}: Props) => (
|
||||
<div className="control-dialog control-dialog-small left">
|
||||
<div className="helper helper-prefetch">
|
||||
<div className="dialog-prefetch-stage">{info}</div>
|
||||
<div className="dialog-prefetch-progress">
|
||||
<div className="progress">
|
||||
<div className="bar" style={{ width: `${progress * 100}%` }} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue