Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

react-stack-view

StackView component for react

Installation

npm install react-stack-view

Usage

importReact,{Component}from'react';importStackViewfrom'react-stack-view';classMyComponentextendsComponent{add(){this.refs.stack.push(<div></div>);}remove(){this.refs.stack.pop();}replace(){this.refs.stack.replace([<div></div>]);}render(){return(<StackViewref="stack">
[optional default content]
</StackView>);}}

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages