@univerjs/design v0.5.0-beta.1 • Docs
Interface: IMessageOptions
Extends
Partial
<Pick
<IMessageProps
,"key"
|"type"
>>.Pick
<IMessageProps
,"content"
>
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
content | string | - | Pick.content | submodules/univer/packages/design/src/components/message/Message.tsx:40 |
duration? | number | After duration milliseconds, the message would be removed automatically. However, if duration is set to 0, the message would not be removed automatically. | - | submodules/univer/packages/design/src/components/message/Message.tsx:53 |
key? | string | - | Partial.key | submodules/univer/packages/design/src/components/message/Message.tsx:38 |
type? | MessageType | - | Partial.type | submodules/univer/packages/design/src/components/message/Message.tsx:39 |