How to use the feature-toggle-jsx.withFeaturesProvider function in feature-toggle-jsx

To help you get started, we’ve selected a few feature-toggle-jsx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github matmalkowski / react-handyman / packages / sandbox / src / featureToggleExamples / FeatureToggleExamples.tsx View on Github external
const FeatureToggleExamples: React.FC = () => {
  return (
    <>
      <h2>withFeature</h2>
      
      
      

      <h2>withoutFeature</h2>
      
    
  )
}

export default withFeaturesProvider(FeatureToggleExamples, features)

feature-toggle-jsx

Toggle component on/off based on feature configuration

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis