UNPKG

react18-loaders

Version:

A comprehensive library that unleashes the full potential of React 18 server components, providing customizable loading animation components alongside a fullscreen loader container. Designed to seamlessly integrate with React and Next.js.

10 lines (9 loc) 347 B
export interface LoaderContainerProps extends React.HTMLProps<HTMLDivElement> { children?: React.ReactNode; loading?: boolean; } /** * # LoaderContainer * A full screen container for the loading animation. */ export declare function LoaderContainer({ children, loading }: LoaderContainerProps): import("react/jsx-runtime").JSX.Element;