React Viewmaster
A carousel-like component that slides children in and out of view.
Example usage
{ super thisstate = toggle: true index: 0 thistoggle = thistoggle thisforward = thisforward thisback = thisback } { this } { this } { this } { this } { const children = slides return <div style= margin: '0 50' height: 250 width: 400 > <button onClick=thistoggle>Toggle</button> <h3> thisstateindex / childrenlength </h3> <Slider index=thisstateindex> children </Slider> <button onClick=thisback>Back</button> <button onClick=thisforward>Forward</button> </div> }