import { IComponentOptions } from 'angular';
import { ButtonController } from './button.controller';
import { BASE_PATH } from '../core/constants';

export const ButtonComponent: IComponentOptions = {
  template: require('./button.template.html'),
  controller: ButtonController,
  controllerAs: 'ctrl',
  transclude: true,
  bindings: {
    icon: '@',
    color: '@',
    type: '@',
    optimistic: '@',
    link: '@'
  }
};
