UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

13 lines 870 B
import * as React from 'react'; import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui'; import { scrollAreaPropDefs } from './scroll-area.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js'; import type { MarginProps } from '../props/margin.props.js'; import type { GetPropDefTypes } from '../props/prop-def.js'; type ScrollAreaOwnProps = GetPropDefTypes<typeof scrollAreaPropDefs>; interface ScrollAreaProps extends ComponentPropsWithout<typeof ScrollAreaPrimitive.Root, RemovedProps>, ComponentPropsWithout<typeof ScrollAreaPrimitive.Viewport, RemovedProps | 'dir'>, MarginProps, ScrollAreaOwnProps { } declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>; export { ScrollArea }; export type { ScrollAreaProps }; //# sourceMappingURL=scroll-area.d.ts.map