* Renders the component. * @return Element to render.
()
| 37 | * @return Element to render. |
| 38 | */ |
| 39 | public render() { |
| 40 | const classes = clsx(Classes.PANEL_STACK, `${Classes.PANEL_STACK}-${this.state.direction}`, this.props.className) |
| 41 | |
| 42 | return ( |
| 43 | <TransitionGroup className={classes} component="div"> |
| 44 | {this.renderCurrentView()} |
| 45 | </TransitionGroup> |
| 46 | ) |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Pops a view out of the stack. |
nothing calls this directly
no test coverage detected