@chatui/core
Version:
The React library for Chatbot UI
10 lines (9 loc) • 361 B
TypeScript
import React from 'react';
export type ScrollViewEffect = 'slide' | 'fade' | '';
export type ScrollViewItemProps = {
item: any;
effect?: ScrollViewEffect;
onIntersect?: (item?: any, entry?: IntersectionObserverEntry) => boolean | void;
children?: React.ReactNode;
};
export declare const Item: (props: ScrollViewItemProps) => React.JSX.Element;