insomnia/app/ui/components/base/dropdown/DropdownDivider.js
Gregory Schier 6c1c03cef6 Various Improvements (#59)
* Better create, started response history

* Response history working

* A bunch
2016-11-27 13:42:38 -08:00

24 lines
444 B
JavaScript

import React, {PropTypes} from 'react';
import classnames from 'classnames';
const DropdownDivider = ({name}) => {
const classes = classnames(
'dropdown__divider',
{'dropdown__divider--no-name': !name}
);
return (
<li className={classes}>
<span className="dropdown__divider__label">
{name}
</span>
</li>
)
};
DropdownDivider.propTypes = {
name: PropTypes.any
};
export default DropdownDivider;