Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 253 Bytes

<BrowserOnly>

Component that renders its children only if used in browser environment.

Usage

import {BrowserOnly} from 'libreact/lib/BrowserOnly';

<BrowserOnly>
  <div>
    You can see this only in browser.
  </div>
</BrowserOnly>