@atlaskit/flag
Version:
A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.
7 lines (6 loc) • 307 B
TypeScript
import type { FlagAPI } from './flag-provider';
/**
* useFlags is used to access the `showFlags` function which can be used to programmatically display flags.
* - [Examples](https://atlassian.design/components/flag/flags-provider/examples#using-showflags)
*/
export declare function useFlags(): FlagAPI;