@quidone/react-native-wheel-picker
Version:
Picker is a UI component for selecting an item from a list of options.
14 lines • 571 B
TypeScript
import React, { type PropsWithChildren } from 'react';
import { type DateUnitType } from './date';
type ContextValue = {
locale: string;
sortedDateUnitTypes: DateUnitType[];
monthLongNames: string[];
};
type DatePickerLocaleProviderProps = PropsWithChildren<{
locale?: string;
}>;
declare const DatePickerLocaleProvider: ({ locale, children, }: DatePickerLocaleProviderProps) => React.JSX.Element;
export default DatePickerLocaleProvider;
export declare const useDatePickerLocale: () => ContextValue;
//# sourceMappingURL=DatePickerLocaleProvider.d.ts.map