UNPKG

@notiz/formly-tailwindcss

Version:
22 lines (21 loc) 834 B
import { Type } from '@angular/core'; import { FieldType, FieldTypeConfig, FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core'; import * as i0 from "@angular/core"; export interface FileProps extends FormlyFieldProps { accept?: string | string[]; multiple?: boolean; } export interface FormlyFileFieldConfig extends FormlyFieldConfig<FileProps> { type: 'file' | Type<FormlyTailwindFile>; } export declare class FormlyTailwindFile extends FieldType<FieldTypeConfig<FileProps>> { class: string; defaultOptions: { props: { accept: never[]; multiple: boolean; }; }; static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTailwindFile, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTailwindFile, "formly-file", never, {}, {}, never, never, true, never>; }