API Reference
@univerjs
@univerjs/ui
interfaces
Inotificationoptions

@univerjs/ui v0.1.17Docs


Interface: INotificationOptions

Properties

PropertyTypeDescriptionDefined in
closable?booleanWhether to support closingpackages/ui/src/components/notification/Notification.tsx:66 (opens in a new tab)
contentstringThe content text of the notificationpackages/ui/src/components/notification/Notification.tsx:54 (opens in a new tab)
duration?numberAutomatic close timepackages/ui/src/components/notification/Notification.tsx:62 (opens in a new tab)
key?stringKey of the notification.packages/ui/src/components/notification/Notification.tsx:42 (opens in a new tab)
lines?numberThe number of lines of content text. Ellipses will be displayed beyond the line number.packages/ui/src/components/notification/Notification.tsx:70 (opens in a new tab)
placement?PlacementPopup positionpackages/ui/src/components/notification/Notification.tsx:58 (opens in a new tab)
titlestringThe title text of the notificationpackages/ui/src/components/notification/Notification.tsx:50 (opens in a new tab)
typeNotificationTypeComponent type, optional success, warning, errorpackages/ui/src/components/notification/Notification.tsx:46 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.