UNPKG

@carbon/ibm-products

Version:
17 lines (15 loc) 640 B
/** * Copyright IBM Corp. 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ /** * Custom hook that converts Carbon's FeatureFlags scope to a plain object. * This is useful when you need to pass parent feature flags to a nested * FeatureFlags component, ensuring all parent flags are preserved. * * @returns {Record<string, boolean>} An object containing all feature flags from the parent scope */ export declare function useCarbonFeatureFlagsObject(): Record<string, boolean>; //# sourceMappingURL=useCarbonFeatureFlagsObject.d.ts.map