0.0.2 • Published 4 years ago

@codewell/render-gate v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

@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