radix-vue
Version:
Vue port for Radix UI Primitives.
53 lines (52 loc) • 1.77 kB
TypeScript
import type { DataOrientation } from '../types';
import type { PrimitiveProps } from '../../Primitive';
export interface BaseSeparatorProps extends PrimitiveProps {
/**
* Either `vertical` or `horizontal`. Defaults to `horizontal`.
*/
orientation?: DataOrientation;
/**
* Whether or not the component is purely decorative. When true, accessibility-related attributes
* are updated so that that the rendered element is removed from the accessibility tree.
*/
decorative?: boolean;
}
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
asChild: {
type: import("vue").PropType<boolean>;
};
as: {
type: import("vue").PropType<import('../../Primitive').AsTag | import("vue").Component>;
};
orientation: {
type: import("vue").PropType<DataOrientation>;
default: string;
};
decorative: {
type: import("vue").PropType<boolean>;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
asChild: {
type: import("vue").PropType<boolean>;
};
as: {
type: import("vue").PropType<import('../../Primitive').AsTag | import("vue").Component>;
};
orientation: {
type: import("vue").PropType<DataOrientation>;
default: string;
};
decorative: {
type: import("vue").PropType<boolean>;
};
}>>, {
orientation: DataOrientation;
}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};