'use strict'; import React from 'react'; let ActionPanel = React.createClass({ propTypes: { buttons: React.PropTypes.element, content: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.element ]), leftColumnWidth: React.PropTypes.string, onClick: React.PropTypes.func, rightColumnWidth: React.PropTypes.string }, render() { const { buttons, content, leftColumnWidth, onClick, rightColumnWidth } = this.props; return (
{content}
{buttons}
); } }); export default ActionPanel;