@univerjs/design v0.5.0-beta.1Docs


Interface: IConfirmProps

Properties

PropertyTypeDescriptionDefined in
cancelText?stringThe text of the Confirm’s confirm button.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:42
childrenReactNode-submodules/univer/packages/design/src/components/confirm/Confirm.tsx:26
confirmText?stringThe text of the Confirm’s cancel button.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:47
onClose?() => voidCallback when the Confirm is closed.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:52
onConfirm?() => voidCallback when the Confirm is confirmed.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:57
title?ReactNodeThe title of the Confirm.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:37
visible?booleanWhether the Confirm is visible. Default falsesubmodules/univer/packages/design/src/components/confirm/Confirm.tsx:32
width?string | numberThe width of the Confirm.submodules/univer/packages/design/src/components/confirm/Confirm.tsx:62