src/app/components/announcement-card/announcement-card.ts
An interface representing announcement information to be displayed inside the card
Properties |
emoji |
emoji:
|
Type : string
|
Optional |
Emoji to display with announcement |
message |
message:
|
Type : string
|
Message of the announcement |
route |
route:
|
Type : string
|
Optional |
Route of the page to navigate to when clicked |
routeText |
routeText:
|
Type : string
|
Optional |
Label for the route |
export interface Announcement {
/** Message of the announcement */
message: string;
/** Route of the page to navigate to when clicked */
route?: string;
/** Label for the route */
routeText?: string;
/** Emoji to display with announcement */
emoji?: string;
}