UNPKG

@td-design/react-native-picker

Version:

基于 @td-design/react-native 的 picker 组件

10 lines 567 B
import { ImperativeModalChildrenProps } from '@td-design/react-native/lib/typescript/modal/type'; import type { DatePeriodInputProps } from '.'; export default function useDatePeriodInput({ value, onChange, format, ...restProps }: ImperativeModalChildrenProps<Pick<DatePeriodInputProps, 'value' | 'onChange' | 'format'>>): { dates: [Date | undefined, Date | undefined] | undefined[]; handleStartPress: () => void; handleEndPress: () => void; clearStartDate: () => void; clearEndDate: () => void; }; //# sourceMappingURL=useDatePeriodInput.d.ts.map