import { faDumbbell, IconDefinition } from '@fortawesome/free-solid-svg-icons';

export class Action {
  label: string;
  icon: IconDefinition;
  data: any;

  constructor(data: Partial<Action>) {
    this.label = data?.label ?? '';
    this.icon = data?.icon ?? faDumbbell;
    this.data = data?.data;
  }
}
