@cerberus-design/react
Version:
The Cerberus Design React component library.
13 lines (12 loc) • 432 B
TypeScript
import { PropsWithChildren } from 'react';
export interface FeatureFlagProps {
/**
* The name of the feature flag to check.
*/
flag: string;
}
/**
* A component that allows you to show or hide content based on a feature flag.
* @see https://cerberus.digitalu.design/react/feature-flags
*/
export declare function FeatureFlag(props: PropsWithChildren<FeatureFlagProps>): import("react/jsx-runtime").JSX.Element;