@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
37 lines (36 loc) • 1.45 kB
text/typescript
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { RenderStrategyProps } from '../../utils';
import { PolymorphicProps } from '../factory';
import { RootEmits, RootProps } from './tabs.types';
import { FocusChangeDetails, ValueChangeDetails } from '@zag-js/tabs';
export interface TabsRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicProps {
}
export interface TabsRootProps extends TabsRootBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
export interface TabsRootEmits extends RootEmits {
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TabsRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
focusChange: (details: FocusChangeDetails) => any;
valueChange: (details: ValueChangeDetails) => any;
"update:modelValue": (value: string) => any;
}, string, PublicProps, Readonly<TabsRootProps> & Readonly<{
onFocusChange?: ((details: FocusChangeDetails) => any) | undefined;
onValueChange?: ((details: ValueChangeDetails) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {
deselectable: boolean;
composite: boolean;
loopFocus: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};