diff --git a/components/Dialog.tsx b/components/Dialog.tsx index f4ed6a19..37987331 100644 --- a/components/Dialog.tsx +++ b/components/Dialog.tsx @@ -18,13 +18,19 @@ export const DialogContent = React.forwardRef + ref={forwardedRef} + > {children} ) ); -export function DialogHeader({ title, subtitle }: { title: string; subtitle: string }) { +type DialogHeaderProps = { + title: React.ReactElement | string; + subtitle: React.ReactElement | string; +}; + +export function DialogHeader({ title, subtitle }: DialogHeaderProps) { return (
@@ -317,11 +321,25 @@ export default function Home({ integrations }: Props) { return ( setIsAddAppleIntegrationDialogOpen(isOpen)}> + onOpenChange={(isOpen) => setIsAddAppleIntegrationDialogOpen(isOpen)} + > + Generate an app specific password to use with Calendso at{" "} + + https://appleid.apple.com/account/manage + + . Your credentials will be stored and encrypted. +

+ } />
{addAppleError && ( @@ -339,14 +357,16 @@ export default function Home({ integrations }: Props) { { setIsAddAppleIntegrationDialogOpen(false); }} - asChild> + asChild + >