@wix/design-system
Version:
@wix/design-system
34 lines (30 loc) • 1 kB
Markdown
### show
- type: bool
- description: when set to `true`, notification is shown
### skin
- type: enum
- description: Notification skin
### theme
- type: enum
- description: No description
### type
- type: enum
- description: Sets how <Notification/> should be displayed:
- `type="global"` will take up space and push the content down.
- `type="local"` will not take up space and will be displayed on top of content
- `type="sticky"` will not take up space and will be displayed at the top of whole page and on top of content (position: fixed;)
### autoHideTimeout
- type: number
- description: When provided, then the Notification will be hidden after the specified timeout.
### zIndex
- type: number
- description: Notification z-index
### onClose
- type: func
- description: No description
### children
- type: node
- description: Can be either:
- `<Notification.TextLabel/>` (required)
- `<Notification.CloseButton/>`
- `<Notification.ActionButton/>`