Advertisement
kwandes

Angular Nebular component

Dec 16th, 2020 (edited)
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //app.component.ts
  2. import { Component } from '@angular/core';
  3. import { NbMenuItem } from '@nebular/theme';
  4.  
  5. @Component({
  6.   selector: 'oribi-root',
  7.   templateUrl: './app.component.html',
  8.   styleUrls: ['./app.component.css'],
  9. })
  10. export class AppComponent {
  11.   title = 'signup-form';
  12.  
  13.   items: NbMenuItem[] = [
  14.     {
  15.       title: 'home',
  16.       link: '/home'
  17.     },
  18.     {
  19.       title: 'sign up',
  20.       link: 'signup'
  21.     }
  22.    ];
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement