UNPKG

@notiz/formly-tailwindcss

Version:
22 lines (21 loc) 895 B
import { Type } from '@angular/core'; import { FieldType, FieldTypeConfig, FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core'; import * as i0 from "@angular/core"; export interface CheckboxProps extends FormlyFieldProps { indeterminate?: boolean; hideRequiredMarker?: boolean; } export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> { type: 'checkbox' | Type<FormlyTailwindCheckbox>; } export declare class FormlyTailwindCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> { defaultOptions: { props: { indeterminate: boolean; hideLabel: boolean; }; }; get class(): string; static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTailwindCheckbox, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTailwindCheckbox, "formly-checkbox", never, {}, {}, never, never, true, never>; }