@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
15 lines (14 loc) • 463 B
TypeScript
import type { MaybeRef } from 'vuesax-alpha/es/utils';
declare type DeprecationParam = {
from: string;
replacement: string;
scope: string;
version: string;
ref: string;
type?: 'API' | 'Attribute' | 'Event' | 'Slot' | 'Prop';
};
/**
* scope, type, from, version, replacement, ref
*/
export declare const useDeprecated: ({ scope, type, from, version, replacement, ref }: DeprecationParam, condition: MaybeRef<boolean>) => void;
export {};