/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export const formControlNameExample = `
In your class:
this.myGroup = new FormGroup({
firstName: new FormControl()
});`;
export const formGroupNameExample = `
In your class:
this.myGroup = new FormGroup({
person: new FormGroup({ firstName: new FormControl() })
});`;
export const formArrayNameExample = `
In your class:
this.cityArray = new FormArray([new FormControl('SF')]);
this.myGroup = new FormGroup({
cities: this.cityArray
});`;
export const ngModelGroupExample = `
`;
export const ngModelWithFormGroupExample = `