Convert LazyLoadingResyncDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
d6aa4c9d14
commit
b396383e06
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,11 @@ import QuestionDialog from './QuestionDialog';
|
||||||
import { _t } from '../../../languageHandler';
|
import { _t } from '../../../languageHandler';
|
||||||
import SdkConfig from '../../../SdkConfig';
|
import SdkConfig from '../../../SdkConfig';
|
||||||
|
|
||||||
export default (props) => {
|
interface IProps {
|
||||||
|
onFinished: () => void;
|
||||||
|
}
|
||||||
|
|
||||||
|
const LazyLoadingResyncDialog: React.FC<IProps> = (props: IProps) => {
|
||||||
const brand = SdkConfig.get().brand;
|
const brand = SdkConfig.get().brand;
|
||||||
const description =
|
const description =
|
||||||
_t(
|
_t(
|
||||||
|
@ -38,3 +42,5 @@ export default (props) => {
|
||||||
onFinished={props.onFinished}
|
onFinished={props.onFinished}
|
||||||
/>);
|
/>);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export default LazyLoadingResyncDialog;
|
Loading…
Reference in a new issue