@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
35 lines (34 loc) • 1.69 kB
TypeScript
import { ThemeProps } from "../../core/system/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { InfiniteScrollAreaStyle } from "./infinite-scroll-area.style.js";
import { UseInfiniteScrollProps } from "./use-infinite-scroll.js";
import "../../index.js";
import * as react830 from "react";
import { ReactNode } from "react";
//#region src/components/infinite-scroll-area/infinite-scroll-area.d.ts
interface InfiniteScrollAreaProps extends Omit<HTMLStyledProps, keyof UseInfiniteScrollProps>, Omit<UseInfiniteScrollProps, "orientation">, ThemeProps<InfiniteScrollAreaStyle> {
/**
* The infinite scroll area finish to use.
*/
finish?: ReactNode;
/**
* The infinite scroll area loading to use.
*/
loading?: ReactNode;
/**
* Props for infinite scroll area trigger component.
*/
triggerProps?: HTMLStyledProps;
}
declare const InfiniteScrollAreaPropsContext: react830.Context<Partial<InfiniteScrollAreaProps> | undefined>, useInfiniteScrollAreaPropsContext: () => Partial<InfiniteScrollAreaProps> | undefined;
/**
* `InfiniteScrollArea` is for providing infinite scroll functionality.
* This feature provides a smooth scrolling experience by automatically loading and displaying the next dataset when the user reaches the end of the page.
*
* @see https://yamada-ui.com/docs/components/infinite-scroll-area
*/
declare const InfiniteScrollArea: Component<"div", InfiniteScrollAreaProps>;
//#endregion
export { InfiniteScrollArea, InfiniteScrollAreaProps, InfiniteScrollAreaPropsContext, useInfiniteScrollAreaPropsContext };
//# sourceMappingURL=infinite-scroll-area.d.ts.map