UNPKG

@atlaskit/flag

Version:

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

19 lines (13 loc) 618 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppearanceArray = void 0; /* 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 var AppearanceArray = exports.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