You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
384 B
9 lines
384 B
import { GenerateConfig } from '../generate';
|
|
import { Locale } from '../interface';
|
|
export interface ValueTextConfig<DateType> {
|
|
formatList: string[];
|
|
generateConfig: GenerateConfig<DateType>;
|
|
locale: Locale;
|
|
}
|
|
export default function useValueTexts<DateType>(value: DateType | null, { formatList, generateConfig, locale }: ValueTextConfig<DateType>): [string[], string];
|