payzli-ui-aryan
Version:
A custom react components library
41 lines (40 loc) • 1.3 kB
TypeScript
import { CSSProperties } from "react";
import { ISelectInput } from "./types";
export interface IPopoverProps {
parentStyle?: object;
parentClass?: string;
children: React.ReactNode;
hoverTrigger?: boolean;
title?: string;
titleClass?: string;
target?: React.ReactNode;
iconContainerClass?: string;
dropdownClass?: string;
position?: "left" | "right" | "bottom" | "bottom-left" | "bottom-right" | "top" | "inherit";
mouseoverTitle?: string;
disableHoverOut?: boolean;
handlePopupVisible?: (visible: boolean) => void;
handleBackDrop?: () => void;
ref?: any;
disableClick?: boolean;
enableCloseOnInsideClick?: boolean;
}
export interface IPopoverSelect {
target: React.ReactNode;
value: ISelectInput | undefined;
setValue: (value: ISelectInput) => void;
selectOptions: ISelectInput[];
popupParentClass?: string;
popupStyle?: CSSProperties;
ref?: any;
handlePopupVisible?: (visible: boolean) => void;
position?: "left" | "right" | "bottom" | "bottom-left" | "bottom-right" | "top" | "inherit";
isMulti?: boolean;
iconContainerClass?: string;
dropdownClass?: string;
formStyle?: CSSProperties;
formClass?: string;
label?: string;
required?: boolean;
disabled?: boolean;
}