UNPKG

flags

Version:

Flags SDK by Vercel - The feature flags toolkit for Next.js and SvelteKit

21 lines (18 loc) 610 B
import React from 'react'; import { b as FlagDefinitionsType, a as FlagValuesType } from './types-CisDd6Kq.cjs'; import 'http'; import '@edge-runtime/cookies'; type Encrypted<T> = string; /** * Registers variant definitions with the toolbar */ declare function FlagDefinitions({ definitions, }: { definitions: FlagDefinitionsType | Encrypted<FlagDefinitionsType>; }): React.JSX.Element; /** * Registers variant values with the toolbar */ declare function FlagValues({ values, }: { values: FlagValuesType | Encrypted<FlagValuesType>; }): React.JSX.Element; export { FlagDefinitions, FlagValues };