Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export interface Notification {
- id: string;
- icon: Icon;
- label: string;
- colorClass: string;
- read?: boolean;
- }
- notifications: Notification[] = [
- {
- id: '125',
- label: 'New OrderReceived',
- icon: icShoppingBasket,
- colorClass: 'text-primary-500'
- }
- ];
- this.http.get<Notification>(api).subscribe((data: Notification) => {console.log(data)}
- //DATA
- colorClass: "text-primary-500"
- โicon: "icFileCopy"
- id: "12"
- label: "New OrderReceived"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement