rsuite
Version:
A suite of react components
28 lines (27 loc) • 705 B
TypeScript
import React from 'react';
import { WithAsProps } from '../types';
export interface ScrollViewProps extends WithAsProps, React.HTMLAttributes<HTMLDivElement> {
/**
* The shadow of the content when scrolling
*/
scrollShadow?: boolean;
/**
* Whether to customize the scrollbar
*/
customScrollbar?: boolean;
/**
* The height of the scroll area
*/
height?: number;
/**
* The width of the scroll area
*/
width?: number;
/**
* Test ID
* @private
*/
'data-testid'?: string;
}
declare const ScrollView: React.ForwardRefExoticComponent<ScrollViewProps & React.RefAttributes<HTMLDivElement>>;
export default ScrollView;