MCPcopy Create free account
hub / github.com/HiDeoo/YaTA / render

Method render

src/components/ViewStack.tsx:39–47  ·  view source on GitHub ↗

* Renders the component. * @return Element to render.

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

renderCurrentViewMethod · 0.95

Tested by

no test coverage detected