/*
 * Copyright (C) 2018 Robert Bosch GmbH Copyright (C) 2018 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
 */

import { Component, Input } from '@angular/core';

@Component({
  selector: 'bci-sidebar-expander',
  templateUrl: './bci-sidebar-expander.component.html',
  styleUrls: ['./bci-sidebar-expander.component.scss'],
})
// TODO: remove?
export class BciSidebarExpanderComponent {
  @Input() header = '';
  @Input() expanded = false;

  toggleSidebar() {
    this.expanded = !this.expanded;
  }
}
