UNPKG

@ark-ui/vue

Version:

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

36 lines (35 loc) 1.39 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './signature-pad.types'; import { DrawDetails, DrawEndDetails } from '@zag-js/signature-pad'; export interface SignaturePadRootBaseProps extends RootProps, PolymorphicProps { } export interface SignaturePadRootProps extends SignaturePadRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface SignaturePadRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<SignaturePadRootBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:paths": (paths: string[]) => any; draw: (details: DrawDetails) => any; drawEnd: (details: DrawEndDetails) => any; }, string, PublicProps, Readonly<SignaturePadRootBaseProps> & Readonly<{ "onUpdate:paths"?: ((paths: string[]) => any) | undefined; onDraw?: ((details: DrawDetails) => any) | undefined; onDrawEnd?: ((details: DrawEndDetails) => any) | undefined; }>, { disabled: boolean; required: boolean; readOnly: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };