@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
14 lines (13 loc) • 457 B
TypeScript
interface CustomHookReturnValue {
scrollableRef: (node: any) => void;
resizeRef: (node: any) => void;
shadowRef: (node: any) => void;
}
interface CustomHookProps {
shadowStyles?: string;
conditional?: boolean;
shadowVisible?: number;
scrollCallback?: (e: Event) => void;
}
export declare const useScrollEffect: ({ conditional, shadowStyles, shadowVisible, scrollCallback, }: CustomHookProps) => CustomHookReturnValue;
export {};