Detalhes do pacote

@atlaskit/platform-feature-flags

atlassian1.7mApache-2.01.1.1

Platform Feature Flags

readme (leia-me)

@atlaskit/platform-feature-flags

Allows usage of feature flags in platform components.

Registration

Feature flags are required to be registered in their respective package before they will be available in the api. This is because the types used in this package are dynamically generated based on flags defined in their "package.json". Definitions can be like so:

{
  'platform-feature-flags': {
    'flag-name': {
      type: 'boolean',
      // required
    },
  },
}