How to use the @sbb-esta/angular-business/notification.NotificationType.SUCCESS function in @sbb-esta/angular-business

To help you get started, we’ve selected a few @sbb-esta/angular-business examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sbb-design-systems / sbb-angular / projects / angular-showcase / src / app / business / business-examples / notification-showcase / simple-notification / simple-notification.component.ts View on Github external
import { Component } from '@angular/core';
import { NotificationType } from '@sbb-esta/angular-business/notification';

import { NOTIFICATION_TYPES } from '../notification-data';

@Component({
  selector: 'sbb-simple-notification',
  templateUrl: './simple-notification.component.html',
  styleUrls: ['./simple-notification.component.scss']
})
export class SimpleNotificationComponent {
  type = NotificationType.SUCCESS;
  types = NOTIFICATION_TYPES.slice();
}

@sbb-esta/angular-business

This is the repository for the Angular component library for SBB.

Apache-2.0
Latest version published 3 years ago

Package Health Score

67 / 100
Full package analysis

Similar packages