Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

DialogContent

Dialog Content using the host's modal workflows presentation.

Import

import { DialogContent } from "@dartwic/interface-sdk/ui";

Declaration

export const DialogContent: HostComponent<DialogContentProps>;

DialogContentProps

Styled dialog body.

export interface DialogContentProps extends HostComponentProps {
    /** Hide the built-in close button when the workflow supplies its own. */
    hideClose?: boolean;
    /** Classes for the built-in close button. */
    closeClassName?: string;
}
PropTypeRequirementDescription
hideClosebooleanOptionalHide the built-in close button when the workflow supplies its own.
closeClassNamestringOptionalClasses for the built-in close button.
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.