import {Component} from '@angular/core'; import {ThemePalette} from '@angular/material/core'; export interface ChipColor { name: string; color: ThemePalette; } /** * @title Stacked chips */ @Component({ selector: 'chips-stacked-example', templateUrl: 'chips-stacked-example.html', styleUrls: ['chips-stacked-example.css'], }) export class ChipsStackedExample { availableColors: ChipColor[] = [ {name: 'none', color: undefined}, {name: 'Primary', color: 'primary'}, {name: 'Accent', color: 'accent'}, {name: 'Warn', color: 'warn'} ]; }