UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

29 lines (28 loc) 745 B
export interface ScrollContainerProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Children * @default '' */ children: any; /** * Enable auto-hide mode (default: false) * When true tracks will hide automatically and are only visible while scrolling. * @default false */ autoHide?: boolean; /** * Hide delay in ms. (default: 500) */ autoHideTimeout?: number; /** * Other props * https://github.com/malte-wessel/react-custom-scrollbars/blob/master/docs/API.md */ [p: string]: any; } export default function ScrollContainer(props: ScrollContainerProps): JSX.Element;