test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
16 lines (15 loc) • 684 B
TypeScript
/// <reference types="react" />
import { PickerOption } from '../../packages/picker/index';
export interface DatePickerCardProps {
value?: Date | null;
visible: boolean;
title: string;
type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime' | 'hour-minutes';
showChinese: boolean;
startDate: string;
endDate: string;
onClose: () => void;
onConfirm: (selectedOptions: PickerOption[], selectedValue: (string | number)[]) => void;
onChange?: (selectedOptions: PickerOption[], selectedValue: (string | number)[], columnIndex: number) => void;
}
export declare const DatePickerCard: (props: DatePickerCardProps) => JSX.Element;