7 lines
233 B
TypeScript
7 lines
233 B
TypeScript
import { inject } from '../../adapter-vue';
|
|
import { FloatWindowContextKey, TFloatWindowContextValue } from '../context';
|
|
|
|
export function useFloatWindowContext() {
|
|
return inject<TFloatWindowContextValue>(FloatWindowContextKey);
|
|
}
|