@codewell/render-gate

0.0.2 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @codewell/render-gate

Weekly Downloads

1

Version

0.0.2

License

none

Unpacked Size

3.53 kB

Total Files

6

Last publish

Collaborators

  • fippli