Files
pterodactyl-panel/resources/scripts/components/dashboard/ApiKeyModal.tsx
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

15 lines
483 B
TypeScript

import { Dialog, type DialogProps } from '@/components/elements/dialog';
import ApiKeyModalContent from '@/components/dashboard/ApiKeyModalContent';
interface Props extends DialogProps {
apiKey: string;
}
export default function ApiKeyModal({ apiKey, onClose, open }: Props) {
return (
<Dialog open={open} onClose={onClose} preventExternalClose title={'Your API key'}>
<ApiKeyModalContent apiKey={apiKey} onClose={onClose} />
</Dialog>
);
}