platform/packages/ui/src/components/notifications/Notification.ts
Andrey Sobolev 46b70a2e9c
TSK-435: Fix create issue edit focus lost. (#2396)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-11-25 00:29:37 +07:00

16 lines
470 B
TypeScript

import { NotificationPosition } from './NotificationPosition'
import { NotificationSeverity } from './NotificationSeverity'
import { AnyComponent, AnySvelteComponent } from '../../types'
export interface Notification {
id: string
title: string
component: AnyComponent | AnySvelteComponent
subTitle?: string
subTitlePostfix?: string
position: NotificationPosition
severity?: NotificationSeverity
params?: { [key: string]: any }
closeTimeout?: number
}