UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

17 lines (16 loc) 845 B
import { BasicProps as DatePickerProps } from "./DatePicker"; import { Props as PopoverProps } from "../popover/Popover"; import { JSXElementConstructor, ReactElement } from "react"; type DateProps = Pick<DatePickerProps, "placeholder" | "data-testid">; type Props = Pick<PopoverProps, "isOpen" | "setIsOpen" | "anchorSide" | "header"> & { startDate?: Date; endDate?: Date; onChange?: (startDate: Date | undefined, endDate: Date | undefined) => void; dateRangeProps?: DateProps; fullWidth?: boolean; canClear?: boolean; input?: ReactElement<any, string | JSXElementConstructor<any>>; "data-testid"?: string; }; export declare const VuiDateRangePicker: ({ setIsOpen, startDate, endDate, onChange, dateRangeProps, fullWidth, canClear, input, ...rest }: Props) => import("react/jsx-runtime").JSX.Element; export {};