Convert LazyLoadingResyncDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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

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;