mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
bb62993ea5
* Host side panel * Query form handles labels * QueryComposer handles labels * ManageHostsPage add label transitions * Stop preventing default on click outside of ellipsis menu * get labels from API * use real label data in hosts side panel * create label on label form submit * adds platform dropdown * Validate query text * Label header * validate presence of query text
21 lines
436 B
JavaScript
21 lines
436 B
JavaScript
import React, { Component, PropTypes } from 'react';
|
|
|
|
class SecondarySidePanelContainer extends Component {
|
|
static propTypes = {
|
|
children: PropTypes.node,
|
|
className: PropTypes.string,
|
|
};
|
|
|
|
render () {
|
|
const { children, className } = this.props;
|
|
|
|
return (
|
|
<div className={`${className} secondary-side-panel-container`}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default SecondarySidePanelContainer;
|