import React from 'react'; export declare type FeatureProps = React.PropsWithChildren<{ /** * The name of the flag to check if is active. */ name: string; /** * The fallback component to show if the feature don't exists. */ fallback?: React.ReactNode; }>; /** * A guard that render the `children` if the flag with `name` exists. * The `fallback` is rendered otherwise. * * @example * ```javascript * const CoolFeature = () =>
Coll feature active
* const Home = () => ( *