@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
10 lines (9 loc) • 321 B
TypeScript
import { InjectionKey, Ref } from 'vue';
interface StateDefinition {
isOpen: Ref<boolean>;
setIsOpen: (value: boolean) => void;
closable: Ref<boolean>;
}
export declare const DialogContext: InjectionKey<StateDefinition>;
export declare function useModalContext(component: string): StateDefinition;
export {};