UNPKG

@winglet/react-utils

Version:

React utility library providing custom hooks, higher-order components (HOCs), and utility functions to enhance React application development with improved reusability and functionality

9 lines (8 loc) 552 B
export declare const Portal: import("react").NamedExoticComponent<{ children?: import("react").ReactNode | undefined; }> & { readonly type: ({ children }: import("react").PropsWithChildren) => null; } & { with: <T extends object>(Component: import("react").ComponentType<T>) => import("react").MemoExoticComponent<(props: T) => import("react/jsx-runtime").JSX.Element>; Anchor: import("react").MemoExoticComponent<(props: Omit<import("react").HTMLAttributes<HTMLDivElement>, "children">) => import("react/jsx-runtime").JSX.Element>; };