0.13.2
Overview
Actions
Communication
Containment
Navigation
Selection
Inputs
Hooks & Helpers
Feature Flags display or hide content in the UI.
1import { FeatureFlags, FeatureFlag } from '@cerberus/react'
export interface FeatureFlagsProviderValue { flags: Record<string, boolean>} export interface FeatureFlagProps { // A unique key of the flags data passed into the provider. flag: string} define function FeatureFlag(props: PropsWithChildren<FeatureFlagProps>): JSX.Element
The FeatureFlag component accepts the following props:
FeatureFlag
On this page