@taiga-ui/kit
Version:
Taiga UI Angular main components kit
17 lines (16 loc) • 828 B
TypeScript
import type { FactoryProvider } from '@angular/core';
import { InjectionToken } from '@angular/core';
import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
import type { TuiMonth } from '@taiga-ui/cdk/date-time';
import type { TuiHandler } from '@taiga-ui/cdk/types';
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
export interface TuiInputMonthOptions {
readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;
readonly valueTransformer: TuiValueTransformer<TuiMonth | null, any>;
}
/**
* @deprecated remove in v5
*/
export declare const TUI_INPUT_MONTH_DEFAULT_OPTIONS: TuiInputMonthOptions;
export declare const TUI_INPUT_MONTH_OPTIONS: InjectionToken<TuiInputMonthOptions>;
export declare const tuiInputMonthOptionsProvider: (options: Partial<TuiInputMonthOptions>) => FactoryProvider;