import type { FunctionComponent } from 'react';
import DatePicker from './DatePicker';
import type { InternalDatePickerProps } from './types';
import Dialog from './Dialog';

export type { InternalDatePickerProps as DatePickerProps };

const InternalDatePicker =
  DatePicker as FunctionComponent<InternalDatePickerProps>;
export default Object.assign(InternalDatePicker, { Dialog });
