flagmint-vuejs-feature-flags
Version:
A Vue.js SDK for managing feature flags in Flagmint applications, supporting both Vue 2 and Vue 3.
26 lines (25 loc) • 1.1 kB
TypeScript
import { Ref, PropType } from 'vue';
import type { FlagClient } from 'flagmint-js-sdk';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Accepts a single feature key or an array of keys.
* If multiple keys are provided, all must be enabled.
*/
featureKeys: {
type: PropType<string | string[]>;
required: true;
};
}>, {
enabled: import("vue").ComputedRef<boolean>;
client: Ref<FlagClient<unknown, Record<string, any>> | null, FlagClient<unknown, Record<string, any>> | null> | undefined;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Accepts a single feature key or an array of keys.
* If multiple keys are provided, all must be enabled.
*/
featureKeys: {
type: PropType<string | string[]>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;