@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
19 lines (15 loc) • 687 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ScrollAreaProps as ScrollAreaProps$1, ScrollAreaScrollbarProps } from '@radix-ui/react-scroll-area';
import { ReactNode } from 'react';
interface ScrollAreaProps extends ScrollAreaProps$1 {
children: ReactNode;
orientation?: 'both' | ScrollAreaScrollbarProps['orientation'];
scrollHideDelay?: number;
type?: ScrollAreaProps$1['type'];
viewportClassName?: string;
}
declare const ScrollArea: {
({ children, orientation, scrollHideDelay, type, viewportClassName, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
export { ScrollArea, type ScrollAreaProps };