Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
SkyToastCustomDemoContext
} from './toast-custom-demo-context';
import {
SkyToastCustomDemoComponent
} from './toast-custom-demo.component';
@Component({
selector: 'sky-toast-demo',
templateUrl: './toast-demo.component.html'
})
export class SkyToastDemoComponent {
public selectedType: SkyToastType = SkyToastType.Info;
public types: any[] = [
{
value: SkyToastType.Info,
label: 'Info'
},
{
value: SkyToastType.Success,
label: 'Success'
},
{
value: SkyToastType.Warning,
label: 'Warning'
},
{
value: SkyToastType.Danger,
label: 'Danger'
}
];
} from '@skyux/toast';
import {
SkyToastCustomDemoContext
} from './toast-custom-demo-context';
import {
SkyToastCustomDemoComponent
} from './toast-custom-demo.component';
@Component({
selector: 'sky-toast-demo',
templateUrl: './toast-demo.component.html'
})
export class SkyToastDemoComponent {
public selectedType: SkyToastType = SkyToastType.Info;
public types: any[] = [
{
value: SkyToastType.Info,
label: 'Info'
},
{
value: SkyToastType.Success,
label: 'Success'
},
{
value: SkyToastType.Warning,
label: 'Warning'
},
{
value: SkyToastType.Danger,
label: 'Danger'