import { BaseComponent } from '@/shared/base/BaseComponent';

export class Checkbox extends BaseComponent {
  private readonly input = this.host.locator('input[type=checkbox]:not(.disabled)');

  set(state: boolean): Promise<void> {
    return this.input.setChecked(state);
  }
}
