insomnia/app/components/base/DropdownDivider.js
Gregory Schier 860353474a Sidebar Sorting (#25)
* Got request moving working but is pretty messy

* Can now drag between groups

* Minor stuff

* Prevent deletion of last workspace

* Fixed some things

* Copy-pasta RequestGroup drag-n-drop

* Closes #2
2016-07-19 09:59:26 -07:00

14 lines
291 B
JavaScript

import React, {PropTypes} from 'react';
const DropdownDivider = ({name}) => (
<li className="dropdown__divider">
<span className="dropdown__divider__label">{name}</span>
</li>
);
DropdownDivider.propTypes = {
name: PropTypes.string.isRequired
};
export default DropdownDivider;