UNPKG

@notiz/formly-tailwindcss

Version:
27 lines (26 loc) 1.04 kB
import { Type } from '@angular/core'; import { FieldType, FieldTypeConfig, FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core'; import { FormlyFieldSelectProps } from '@ngx-formly/core/select'; import * as i0 from "@angular/core"; export declare enum RadioOrientation { col = "col", row = "row" } export interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps { orientation?: RadioOrientation; } export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> { type: 'radio' | Type<FormlyTailwindRadio>; } export declare class FormlyTailwindRadio extends FieldType<FieldTypeConfig<RadioProps>> { defaultOptions: { props: { options: never[]; orientation: RadioOrientation; }; }; get class(): string; onChange(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTailwindRadio, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTailwindRadio, "formly-radio", never, {}, {}, never, never, true, never>; }