跳到主要内容
版本:1.x

Interface: IModalProps

molecule.component.IModalProps

Hierarchy

  • IDialogPropTypes

    IModalProps

Properties

cancelButtonProps

Optional cancelButtonProps: IButtonProps

Defined in

components/dialog/modal.tsx:22


cancelText

Optional cancelText: ReactNode

Defined in

components/dialog/modal.tsx:19


centered

Optional centered: boolean

Defined in

components/dialog/modal.tsx:18


okButtonProps

Optional okButtonProps: IButtonProps

Defined in

components/dialog/modal.tsx:21


okCancel

Optional okCancel: boolean

Defined in

components/dialog/modal.tsx:23


okText

Optional okText: ReactNode

Defined in

components/dialog/modal.tsx:20

Methods

onCancel

Optional onCancel(e): void

Parameters

NameType
eSyntheticEvent<Element, Event>

Returns

void

Defined in

components/dialog/modal.tsx:17


onOk

Optional onOk(e): void

Parameters

NameType
eMouseEvent<HTMLElement, MouseEvent>

Returns

void

Defined in

components/dialog/modal.tsx:16