UNPKG

@atlaskit/flag

Version:

A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.

9 lines (8 loc) 335 B
import React from 'react'; import type { FlagAPI } from './flag-provider'; /** * Context holding the flag API. Extracted into its own leaf module so that * `flag-provider`, `flags-provider` and `use-flags` can all depend on it * without creating an import cycle. */ export declare const FlagContext: React.Context<FlagAPI | null>;