import { Text } from "preact-i18n";
import { Modal } from "@revoltchat/ui";
interface Props {
onClose: () => void;
token: string;
username: string;
}
export function TokenRevealModal({ onClose, token, username }: Props) {
return (
}
actions={[
{
onClick: onClose,
confirmation: true,
children: ,
},
]}>
{token}
);
}