UNPKG

@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/).

17 lines (16 loc) 534 B
"use strict"; const vue = require("vue"); const defaultFutureFlags = { removeCardWidth: false, removeDefaultMargin: false }; const futureFlagsInjectionKey = Symbol("mt-future-flags"); function provideFutureFlags(flags) { vue.provide(futureFlagsInjectionKey, flags ?? defaultFutureFlags); } function useFutureFlags() { return vue.inject(futureFlagsInjectionKey, defaultFutureFlags); } exports.provideFutureFlags = provideFutureFlags; exports.useFutureFlags = useFutureFlags; //# sourceMappingURL=useFutureFlags-35232480.js.map