UNPKG

@navinc/base-react-components

Version:
16 lines (15 loc) 722 B
/// <reference types="react" /> import { InferComponentProps } from '../types.js'; export declare const DatePickerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>; declare type DateSegmentComponentProps = { errors?: string[]; hasSpaceForErrors?: boolean; isInvalid?: boolean; label: string; value: string; onBlur?: () => void; onFocus?: () => void; onChange?: (value: string) => void; } & InferComponentProps<typeof DatePickerWrapper>; export declare const DateSegmentComponent: ({ errors, hasSpaceForErrors, isInvalid, label, onBlur, onFocus, onChange, value, ...rest }: DateSegmentComponentProps) => JSX.Element; export {};