UNPKG

@nextcloud/vue

Version:
20 lines (19 loc) 452 B
import { InjectionKey } from 'vue'; export declare const NC_FORM_BOX_CONTEXT_KEY: InjectionKey<{ isInFormBox: false; formBoxItemClass: undefined; } | { isInFormBox: true; formBoxItemClass: string; }>; /** * Get NcFormBox context with a fallback * TODO: make it public? */ export declare function useNcFormBox(): { isInFormBox: false; formBoxItemClass: undefined; } | { isInFormBox: true; formBoxItemClass: string; };