start of toggle to switch between devices and folders data table

This commit is contained in:
Jesse Lucas
2020-03-11 21:24:02 -04:00
parent 1d249a877e
commit 031fd72dfd
11 changed files with 83 additions and 7 deletions
@@ -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 {
}
}