RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Basic Pane
import React from 'react'; class Pane extends React.Component { constructor(props) { super(props); } render() { return React.createElement( 'section', this.props ); } }
Panel
import React from 'react'; class Panel extends React.Component { constructor(props) { super(props); } render(...elements) { var props = Object.assign({ className: this.props.active ? 'active' : '', tabIndex: -1 }, this.prop...
Tab
import React from 'react'; class Tab extends React.Component { constructor(props) { super(props); } render() { var props = Object.assign({ className: this.props.active ? 'active' : '' }, this.props); return React.createElement( ...
PanelGroup
import React from 'react'; import Tab from './Tab.js'; class PanelGroup extends React.Component { constructor(props) { super(props); this.setState({ panels: props.panels }); } render() { this.tabSet = []; this.panelSet = ...
Example view with `PanelGroup`s
import React from 'react'; import Pane from './components/Pane.js'; import Panel from './components/Panel.js'; import PanelGroup from './components/PanelGroup.js'; class MainView extends React.Component { constructor(props) { super(props); } render() { return...
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website