graycoreio/daffodil

View on GitHub
libs/design/radio/examples/src/basic-radio/basic-radio.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import {
  ChangeDetectionStrategy,
  Component,
} from '@angular/core';
import {
  UntypedFormGroup,
  UntypedFormControl,
  ReactiveFormsModule,
} from '@angular/forms';

import { DaffRadioModule } from '@daffodil/design';

@Component({
  // eslint-disable-next-line @angular-eslint/component-selector
  selector: 'basic-radio',
  templateUrl: './basic-radio.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
  standalone: true,
  imports: [DaffRadioModule, ReactiveFormsModule],
})
export class BasicRadioComponent {
  radioGroup = new UntypedFormGroup({
    race: new UntypedFormControl('Zerg'),
  });

  constructor() {}
}