Check out example codes for "mat checkbox form control". It will help you in understanding the concepts better.

Code Example 1

<form [formGroup]="showClassGrp" (ngSubmit)="onSubmit()">
  <mat-checkbox id="amateur" class="amateur" color="primary"
                formControlName="amateur">Amateur</mat-checkbox>
  <button class="btn btn-primary" type="submit"> Submit </button>
</form>

Learn ReactJs, React Native from akashmittal.com