aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/dropdown.js')
-rw-r--r--ui/app/components/dropdown.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/dropdown.js b/ui/app/components/dropdown.js
index 759800fd6..993a104ee 100644
--- a/ui/app/components/dropdown.js
+++ b/ui/app/components/dropdown.js
@@ -54,7 +54,7 @@ Dropdown.propTypes = {
class DropdownMenuItem extends Component {
render () {
- const { onClick, closeMenu, children } = this.props
+ const { onClick, closeMenu, children, style } = this.props
return h(
'li.dropdown-menu-item',
@@ -73,6 +73,7 @@ class DropdownMenuItem extends Component {
display: 'flex',
justifyContent: 'flex-start',
alignItems: 'center',
+ ...style,
},
},
children