moved components to TypeScript

This commit is contained in:
muerwre 2019-02-12 16:20:31 +07:00
parent 85b8860862
commit 0a01c91271
54 changed files with 2771 additions and 5134 deletions

View file

@ -1,21 +0,0 @@
import React from 'react';
type 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>
);