import { ControlsCommon , ControlsContent , randomName } from '../controls.common' ; class RadioContent implements ControlsContent { helperText : string ; name : string ; placeholder : string ; required : boolean ; type : string ; value : any ; label : string ; public constructor ( ) { this . type = 'radio' ; this . name = randomName ( this . type ) ; this . label = 'Radio Field' ; } } export class RadioControl extends ControlsCommon { public name : string = 'radio' ; public label : string = 'Radio' ; public icon : string = 'fas fa-check-circle' ; public dndType : string = 'inputs' ; public content ( ) { return new RadioContent ( ) ; } }