stoat-for-desktop/components/modal/modals/SignedOut.tsx

25 lines
552 B
TypeScript

import { Trans } from "@lingui-solid/solid/macro";
import { Dialog, DialogProps } from "@revolt/ui";
import { Modals } from "../types";
/**
* Modal to notify the user they've been signed out
* TODO: show if user is banned, etc
*/
export function SignedOutModal(
props: DialogProps & Modals & { type: "signed_out" },
) {
return (
<Dialog
show={props.show}
onClose={props.onClose}
title={<Trans>You've been signed out of Stoat!</Trans>}
actions={[{ text: <Trans>OK</Trans> }]}
>
<></>
</Dialog>
);
}