UNPKG

react-clickout-ts

Version:
8 lines 701 B
import { type HTMLAttributes, type ReactNode, type Ref } from 'react'; interface SlotProps extends HTMLAttributes<HTMLElement> { readonly children?: ReactNode; readonly ref?: Ref<HTMLElement | null>; } export declare const Slot: ({ children, ...props }: SlotProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined; export {}; //# sourceMappingURL=slot.d.ts.map