@atlaskit/flag
Version:
A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.
13 lines (8 loc) • 485 B
JavaScript
/* eslint-disable @repo/internal/react/consistent-types-definitions */
// exported for testing - keep in sync from `type AppearanceTypes`
// eslint-disable-next-line @repo/internal/react/require-jsdoc
export var AppearanceArray = ['error', 'info', 'normal', 'success', 'warning'];
// CreateFlagsArg makes id optional so define this prop separately
// Normal AutoDismissFlagProps should include the id
// This is extended by CreateFlagArgs
// Normal FlagProps should include the id