Skip to content

The open alternative to Salesforce, designed for AI.

511 B
Raw Blame
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';

import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';

import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';
import { type AlertDialogTitleProps } from '../types/AlertDialogTitleProps';

export const AlertDialogTitle = ({
  className,
  ...props
}: AlertDialogTitleProps) => (
  <AlertDialogPrimitive.Title
    {...props}
    className={mergeClassNames(styles.title, className)}
  />
);