import React, { forwardRef } from "react"; import { BodyShort } from "../../typography"; import { cl } from "../../utils/helpers"; import { useDialogContext } from "../root/DialogRoot.context"; type DialogDescriptionProps = React.HTMLAttributes; /** * @see 🏷️ {@link DialogDescriptionProps} * @example * ```jsx * * * * Dialog title * Dialog description * * * * ``` */ const DialogDescription = forwardRef< HTMLParagraphElement, DialogDescriptionProps >(({ className, children, ...restProps }, forwardedRef) => { const { size } = useDialogContext(); return ( {children} ); }); export { DialogDescription }; export type { DialogDescriptionProps };