import { MaterialIcon } from '../../Icons/MaterialIcon' import { OldDSButton as Button } from '../../OldDSButton' import Subtitle from '../../Subtitle' import styles from './modalContent.module.css' import type { ReactNode } from 'react' interface ModalContentProps { title?: string content: ReactNode primaryAction: { label: string onClick: () => void intent?: 'primary' | 'secondary' | 'text' isLoading?: boolean disabled?: boolean } | null secondaryAction: { label: string onClick: () => void intent?: 'primary' | 'secondary' | 'text' } | null onClose?: () => void } export function ModalContentWithActions({ title, content, primaryAction, secondaryAction, onClose, }: ModalContentProps) { return ( <> {title && (
{title}
)}
{content}
) }