UNPKG

react-smooth-scrollbar-z

Version:

A React wrapper for Smooth Scrollbar with hooks and plugin support

18 lines (17 loc) 694 B
import React from "react"; import { type IFUseScrollbarOptions, type IFScrollbarHandle } from "./useFullScrollbar"; export interface IFullScrollbarProps extends React.PropsWithChildren<IFUseScrollbarOptions> { thumbColor?: string; thumbHoverColor?: string; thumbSize?: string | number; thumbHoverSize?: number; trackColor?: string; trackSize?: string | number; trackHoverSize?: string | number; trackOpacity?: number; showOnHover?: boolean; alwaysShowTracks?: boolean; visibleOpacity?: number; } declare const FullScrollbar: React.ForwardRefExoticComponent<IFullScrollbarProps & React.RefAttributes<IFScrollbarHandle>>; export default FullScrollbar;