UNPKG

@ark-ui/vue

Version:

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

46 lines (45 loc) 1.83 kB
import { UseMarqueeContext } from './use-marquee-context'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, HTMLAttributes, VNodeRef } from 'vue'; import { Side, ContentProps, EdgeProps } from '@zag-js/marquee'; export interface MarqueeContextProps { children: (context: UseMarqueeContext) => any; } declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: { paused: boolean; orientation: "horizontal" | "vertical"; side: Side; multiplier: number; contentCount: number; pause: VoidFunction; resume: VoidFunction; togglePause: VoidFunction; restart: VoidFunction; getRootProps: () => HTMLAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; }; getViewportProps: () => HTMLAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; }; getContentProps: (props: ContentProps) => HTMLAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; }; getEdgeProps: (props: EdgeProps) => HTMLAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; }; getItemProps: () => HTMLAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; }; }): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };