@start-base/start-ui
Version:
<p align="center"> <a href="https://startbase.dev" target="_blank"> <img src="https://startbase.dev/apple-touch-icon.png" width="60px" style="padding-top: 60px" /> </a> </p>
14 lines (10 loc) • 474 B
TypeScript
import React$1, { CSSProperties } from 'react';
type ScrollOrientation = 'vertical' | 'horizontal';
interface ScrollAreaProps extends React.AllHTMLAttributes<HTMLDivElement> {
orientation: ScrollOrientation;
className?: string;
style?: CSSProperties;
children?: React.ReactNode;
}
declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
export { type ScrollAreaProps, ScrollArea as default };