@dxos/react-ui
    Preparing search index...

    Type Alias CloseTriggerProps

    CloseTriggerProps: Omit<DialogPrimitive.CloseTriggerProps, "children"> & {
        children?: ReactNode;
        icon?: string;
        label?: string;
    }

    Type declaration

    • Optionalchildren?: ReactNode

      With asChild, the child (e.g. a Cancel Button) closes the dialog instead of the default icon button.

    • Optionalicon?: string
    • Optionallabel?: string