@atlaskit/datetime-picker
Version:
A date time picker allows the user to select an associated date and time.
11 lines (10 loc) • 554 B
TypeScript
import React from 'react';
import type { OptionType, SingleValueProps } from '@atlaskit/select/types';
/**
* This creates a functional component that `react-select` will use to make the
* SingleValue part of the different pickers.
*/
export declare const makeSingleValue: ({ id, lang }: {
id?: string;
lang: string;
}) => ({ children, className, clearValue, cx, data, getStyles, getValue, hasValue, isDisabled, isMulti, isRtl, options, selectOption, selectProps, setValue, ...rest }: SingleValueProps<OptionType, false>) => React.JSX.Element;