Convert LazyLoadingResyncDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-09-05 13:09:29 +02:00
parent d6aa4c9d14
commit b396383e06
No known key found for this signature in database
GPG Key ID: 55C211A1226CB17D
1 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,11 @@ import QuestionDialog from './QuestionDialog';
import { _t } from '../../../languageHandler';
import SdkConfig from '../../../SdkConfig';
export default (props) => {
interface IProps {
onFinished: () => void;
}
const LazyLoadingResyncDialog: React.FC<IProps> = (props: IProps) => {
const brand = SdkConfig.get().brand;
const description =
_t(
@ -38,3 +42,5 @@ export default (props) => {
onFinished={props.onFinished}
/>);
};
export default LazyLoadingResyncDialog;