跳到主要内容
版本:Next

Interface: IModalFuncProps

molecule.component.IModalFuncProps

Hierarchy

  • IDialogPropTypes

    IModalFuncProps

Properties

cancelButtonProps

Optional cancelButtonProps: IButtonProps

Defined in

components/dialog/modal.tsx:33


cancelText

Optional cancelText: ReactNode

Defined in

components/dialog/modal.tsx:26


centered

Optional centered: boolean

Defined in

components/dialog/modal.tsx:34


content

Optional content: ReactNode

Defined in

components/dialog/modal.tsx:29


icon

Optional icon: string | Element

Defined in

components/dialog/modal.tsx:28


okButtonProps

Optional okButtonProps: IButtonProps

Defined in

components/dialog/modal.tsx:32


okCancel

Optional okCancel: boolean

Defined in

components/dialog/modal.tsx:35


okText

Optional okText: ReactNode

Defined in

components/dialog/modal.tsx:27


type

Optional type: "warning" | "confirm"

Defined in

components/dialog/modal.tsx:36

Methods

onCancel

Optional onCancel(...args): void

Parameters

NameType
...argsany[]

Returns

void

Defined in

components/dialog/modal.tsx:31


onOk

Optional onOk(...args): any

Parameters

NameType
...argsany[]

Returns

any

Defined in

components/dialog/modal.tsx:30