@openhands/ui
Version:
OpenHands UI Components
10 lines (9 loc) • 505 B
TypeScript
import { PropsWithChildren } from 'react';
import { BaseProps, HTMLProps } from '../../shared/types';
export type ScrollableMode = "auto" | "scroll";
export type ScrollableType = "horizontal" | "vertical";
export type ScrollableProps = HTMLProps<"div"> & {
mode?: ScrollableMode;
type?: ScrollableType;
} & BaseProps;
export declare const Scrollable: ({ className, children, tabIndex, mode, type, testId, ...props }: PropsWithChildren<ScrollableProps>) => import("react/jsx-runtime").JSX.Element;