mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
860353474a
* 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
14 lines
291 B
JavaScript
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;
|