UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

60 lines (59 loc) 1.95 kB
import type { PrimitiveProps } from '../Primitive'; export interface ToastViewportProps extends PrimitiveProps { /** * The keys to use as the keyboard shortcut that will move focus to the toast viewport. * @defaultValue ['F8'] */ hotkey?: string[]; /** * An author-localized label for the toast viewport to provide context for screen reader users * when navigating page landmarks. The available `{hotkey}` placeholder will be replaced for you. * @defaultValue 'Notifications ({hotkey})' */ label?: string; } declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ label: { type: import("vue").PropType<string>; default: string; }; asChild: { type: import("vue").PropType<boolean>; }; as: { type: import("vue").PropType<import('../Primitive').AsTag | import("vue").Component>; default: string; }; hotkey: { type: import("vue").PropType<string[]>; default: () => string[]; }; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ label: { type: import("vue").PropType<string>; default: string; }; asChild: { type: import("vue").PropType<boolean>; }; as: { type: import("vue").PropType<import('../Primitive').AsTag | import("vue").Component>; default: string; }; hotkey: { type: import("vue").PropType<string[]>; default: () => string[]; }; }>>, { label: string; as: import('../Primitive').AsTag | import("vue").Component; hotkey: string[]; }, {}>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };