funda-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
18 lines (17 loc) • 561 B
TypeScript
import React from 'react';
export declare type ScrollbarProps = {
onlyVerticle?: boolean;
onlyHorizontal?: boolean;
arrowIcons?: React.ReactNode[];
disableArrow?: boolean;
horizontallyWithWheel?: boolean;
autoScrollTo?: boolean | string;
/** Incoming data, changes in the `data` value will cause the component to re-render. */
data?: any;
onMove?: (data: any) => void;
/** -- */
id?: string;
children: React.ReactNode;
};
declare const Scrollbar: (props: ScrollbarProps) => JSX.Element;
export default Scrollbar;