Skip to content

The open alternative to Salesforce, designed for AI.

547 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 AlertDialogDescriptionProps } from '../types/AlertDialogDescriptionProps';

export const AlertDialogDescription = ({
  className,
  ...props
}: AlertDialogDescriptionProps) => (
  <AlertDialogPrimitive.Description
    {...props}
    className={mergeClassNames(styles.description, className)}
  />
);