{"size": 487, "ext": "js", "max_stars_repo_path": "docs/examples/PanelGroupControlled.js", "max_stars_repo_name": "cassus/react-bootstrap", "max_stars_repo_stars_event_min_datetime": "2015-07-24T05:45:34.000Z", "max_stars_repo_stars_event_max_datetime": "2015-11-11T10:53:00.000Z", "max_issues_repo_path": "docs/examples/PanelGroupControlled.js", "max_issues_repo_name": "cassus/react-bootstrap", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/examples/PanelGroupControlled.js", "max_forks_repo_name": "cassus/react-bootstrap", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.35, "max_line_length": 72, "alphanum_fraction": 0.7248459959}
/** @jsx React.DOM */

var key = 1;
var panelGroupInstance;
var renderedInstance;

function handleSelect (selectedKey) {
  renderedInstance.setProps({
    activeKey: selectedKey
  });
}

panelGroupInstance = (
  <PanelGroup activeKey={key} onSelect={handleSelect} accordion>
    <Panel header="Panel 1" key={1}>Panel 1 content</Panel>
    <Panel header="Panel 2" key={2}>Panel 2 content</Panel>
  </PanelGroup>
);

renderedInstance = React.renderComponent(panelGroupInstance, mountNode);