3.0.1 • Published 5 years ago

react-visible v3.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

React Visible

A React component designed to control if children are rendered, therefore their visibility. Probably the simplest component in the world.

npm version Dependency Status devDependency Status Build Status Coverage Status

Example

import Visible from "react-visible";

…

<Visible isVisible={true}>
	You can see me, my children are rendered
</Visible>

<Visible isVisible={false}>
	You can’t see me, isn’t this nicer than doing it yourself with an if false render noscript statement
</Visible>

React support

For older versions of react please see previous versions of this library.

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

8 years ago

1.0.0

8 years ago