chore(SW-3246): Moved Alert component into design system * chore(SW-3246): Moved Alert component into design system * chore(SW-3246): Optimsed code and imports * chore(SW-3246): Moved type AlertTypeEnum and other to common package Approved-by: Anton Gunnarsson
22 lines
328 B
TypeScript
22 lines
328 B
TypeScript
export enum AlertTypeEnum {
|
|
Info = "info",
|
|
Warning = "warning",
|
|
Alarm = "alarm",
|
|
Success = "success",
|
|
}
|
|
|
|
export const AlertVisibleOnEnum = {
|
|
WEB: "WEB",
|
|
APP: "APP",
|
|
} as const
|
|
|
|
export type SidepeekContent = {
|
|
heading: string
|
|
content: {
|
|
json?: any
|
|
embedded_itemsConnection: {
|
|
edges: any
|
|
}
|
|
}
|
|
}
|