import { ThfRadioGroupBaseComponent } from '@totvs/thf-core/components/thf-field-base'; /** * @extends ThfRadioGroupBaseComponent * * @example * * *
* * * * * * * * *
*
* * import { Component } from '@angular/core'; * import { ThfRadioGroupOption } from '@totvs/thf-core/components/thf-field-base/thf-radio-group-base/thf-radio-group.interface'; * * @Component({ * selector: 'sample-thf-radio-group', * templateUrl: './sample-thf-radio-group.component.html' * }) * export class SampleThfRadioGroupComponent { * * gender = ''; * * genderOptions: Array = [ * { label: 'Masculino', value: 'male' }, * { label: 'Feminino', value: 'female' } * ]; * * interest = 'arts'; * * interestOptions: Array = [ * { label: 'Livros', value: 'books' }, * { label: 'Filmes', value: 'movies' }, * { label: 'Músicas', value: 'music' }, * { label: 'Artes', value: 'arts' }, * { label: 'Esportes', value: 'sports', disabled: true } * ]; * * changeGender(value) { * console.log('O gênero foi alterado: ', value); * } * * constructor() { } * } * * *
*/ export declare class ThfRadioGroupComponent extends ThfRadioGroupBaseComponent { /** Label do campo */ label?: string; /** Texto de apoio do campo */ help?: string; }