UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

10 lines (9 loc) 474 B
import { PropTypes } from '@zag-js/vue'; import { ComputedRef, MaybeRef } from 'vue'; import { Optional } from '../../types'; import * as scrollArea from '@zag-js/scroll-area'; export interface UseScrollAreaProps extends Optional<Omit<scrollArea.Props, 'dir' | 'getRootNode'>, 'id'> { } export interface UseScrollAreaReturn extends ComputedRef<scrollArea.Api<PropTypes>> { } export declare const useScrollArea: (props?: MaybeRef<UseScrollAreaProps>) => UseScrollAreaReturn;