@notiz/formly-tailwindcss
Version:
Formly TailwindCSS theme
23 lines (22 loc) • 982 B
TypeScript
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 interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
multiple?: boolean;
compareWith: (o1: any, o2: any) => boolean;
}
export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
type: 'select' | Type<FormlyTailwindSelect>;
}
export declare class FormlyTailwindSelect extends FieldType<FieldTypeConfig<SelectProps>> {
defaultOptions: {
props: {
options: never[];
compareWith(o1: any, o2: any): boolean;
};
};
class: string;
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTailwindSelect, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTailwindSelect, "formly-select", never, {}, {}, never, never, true, never>;
}