onboarding completed
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
97627583ec
commit
7d22d2ddad
@@ -2,17 +2,17 @@
|
||||
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { DialogContent } from '@/components/ui/dialog';
|
||||
import type { DialogContentProps } from '@radix-ui/react-dialog';
|
||||
import { X } from 'lucide-react';
|
||||
|
||||
import { popModal } from '..';
|
||||
|
||||
interface ModalContentProps {
|
||||
interface ModalContentProps extends DialogContentProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function ModalContent({ children, className }: ModalContentProps) {
|
||||
return <DialogContent className={className}>{children}</DialogContent>;
|
||||
export function ModalContent({ children, ...props }: ModalContentProps) {
|
||||
return <DialogContent {...props}>{children}</DialogContent>;
|
||||
}
|
||||
|
||||
interface ModalHeaderProps {
|
||||
|
||||
Reference in New Issue
Block a user