UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

43 lines (42 loc) 1.29 kB
import type { Ref, SlotsType, VNode } from 'vue'; export interface PresenceProps { /** * Conditional to mount or unmount the child element. Similar to `v-if` * * @required true */ present: boolean; /** * Force the first child element to render all the time. * Useful for programmatically render grandchild component together with the exposed `present` * * @default false */ forceMount?: boolean; } declare const _default: import("vue").DefineComponent<{ present: { type: BooleanConstructor; required: true; }; forceMount: { type: BooleanConstructor; }; }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ present: { type: BooleanConstructor; required: true; }; forceMount: { type: BooleanConstructor; }; }>>, { forceMount: boolean; }, SlotsType<{ default: (opts: { present: Ref<boolean>; }) => any; }>>; export default _default;