start of toggle to switch between devices and folders data table
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<mat-button-toggle-group name="fontStyle" aria-label="Font Style">
|
||||
<mat-button-toggle value="folders">Folders</mat-button-toggle>
|
||||
<mat-button-toggle value="devices">Devices</mat-button-toggle>
|
||||
</mat-button-toggle-group>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { StatusToggleComponent } from './status-toggle.component';
|
||||
|
||||
describe('StatusToggleComponent', () => {
|
||||
let component: StatusToggleComponent;
|
||||
let fixture: ComponentFixture<StatusToggleComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ StatusToggleComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(StatusToggleComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-status-toggle',
|
||||
templateUrl: './status-toggle.component.html',
|
||||
styleUrls: ['./status-toggle.component.scss']
|
||||
})
|
||||
export class StatusToggleComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user