insomnia/app/ui/components/base/dropdown/DropdownDivider.js
Gregory Schier d58edf1d25 Cleanup before major team features (#72)
* Started on UI makeover for teams

* Some small tweaks and fixes

* Adjusted settings
2016-12-21 15:37:48 -08:00

22 lines
420 B
JavaScript

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