radix-vue
Version:
Vue port for Radix UI Primitives.
11 lines (10 loc) • 375 B
TypeScript
import { Ref } from 'vue';
export type WarningProps = {
titleName?: string;
contentName?: string;
componentLink?: string;
titleId: string;
descriptionId: string;
contentElement: Ref<HTMLElement | undefined>;
};
export declare function useWarning({ titleName, contentName, componentLink, titleId, descriptionId, contentElement, }: WarningProps): void;