UNPKG

@navinc/base-react-components

Version:
19 lines (18 loc) 1.03 kB
import { InferComponentProps } from '../types.js'; export declare const DatePickerWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string; type DateSegmentComponentProps = { errors?: string[]; hasSpaceForErrors?: boolean; isInvalid?: boolean; label?: string; value: string; onBlur?: () => void; onFocus?: () => void; onChange?: (value: string) => void; isPrivate?: boolean; } & Omit<InferComponentProps<typeof DatePickerWrapper>, 'onChange' | 'onFocus' | 'onBlur'>; /** * @deprecated This component is deprecated and will be removed in a future release. Avoid using it in new code. */ export declare const DateSegmentComponent: ({ errors, hasSpaceForErrors, isInvalid, label, onBlur, onFocus, onChange, value, isPrivate, ...rest }: DateSegmentComponentProps) => import("react/jsx-runtime").JSX.Element; export {};