Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@codewell/render-gate

codewell150.0.2

Installation

readme

@codewell/render-gate

Installation

Alpha version

npm install @codewell/render-gate

Basic Usage

import RenderGate from '@codewell/render-gate';

const SomeComponent = (props) => (
  <>
    <RenderGate condition={true}>
      This renders
    </RenderGate>

    <RenderGate condition={false}>
      This does not render
    </RenderGate>
  </>
);

Contribution

Please help by submitting issues and pull requests here on github Read more on codewell's webpage