UNPKG

@athosws/react-components

Version:

This is a set of useful ReactJS components developed by Athos.\n Email:ladiesman217.as@gmail.com

31 lines (28 loc) 784 B
import type { PopUpPosition } from "../../hooks/private/usePopUp"; export interface ATHOSPopUpProps { children: React.ReactNode; isOpen?: boolean; onToggle?: (isOpen: boolean) => void; onClickOutside?: () => void; position?: PopUpPosition; style?: React.CSSProperties; contentWrapperStyle?: React.CSSProperties; contentWrapperClassName?: string; className?: string; content: React.ReactNode; spacing?: number; matchChildrenWidth?: boolean; generalWrapperClassName?: string; id?: string; showOnHover?: boolean; } export type APUContainerProps = { top?: number | string; left?: number | string; right?: number | string; bottom?: number | string; width?: number | string; height?: number | string; opacity?: number; transform?: string; };