UNPKG

@gear-js/vara-ui

Version:

React UI components used across Vara applications

9 lines (8 loc) 424 B
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react'; type Props<T extends ElementType> = PropsWithChildren & ComponentPropsWithoutRef<T> & { as?: T; className?: string; }; declare function ScrollArea<T extends ElementType = 'div'>({ as, children, className, ...attrs }: Props<T>): import("react/jsx-runtime").JSX.Element; export { ScrollArea }; export type { Props as ScrollAreaProps };