import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'; import { clipboard } from '@/utils/clipboard'; import { Copy, RocketIcon } from 'lucide-react'; import type { IServiceClient } from '@openpanel/db'; import { Label } from '../ui/label'; type Props = IServiceClient; export function CreateClientSuccess({ id, secret, cors }: Props) { return (
{secret && (
{cors && (

You will only need the secret if you want to send server events.

)}
)} {cors && (
{cors}
)} Get started! Read our{' '} documentation {' '} to get started. Easy peasy!
); }