|
|
@ -7,7 +7,7 @@ const noop = () => {} |
|
|
|
|
|
|
|
|
|
|
|
class Dropdown extends Component { |
|
|
|
class Dropdown extends Component { |
|
|
|
render () { |
|
|
|
render () { |
|
|
|
const { isOpen, onClickOutside, style, children } = this.props |
|
|
|
const { isOpen, onClickOutside, style, innerStyle, children } = this.props |
|
|
|
|
|
|
|
|
|
|
|
return h( |
|
|
|
return h( |
|
|
|
MenuDroppo, |
|
|
|
MenuDroppo, |
|
|
@ -21,6 +21,7 @@ class Dropdown extends Component { |
|
|
|
padding: '8px 16px', |
|
|
|
padding: '8px 16px', |
|
|
|
background: 'rgba(0, 0, 0, 0.8)', |
|
|
|
background: 'rgba(0, 0, 0, 0.8)', |
|
|
|
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px', |
|
|
|
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px', |
|
|
|
|
|
|
|
...innerStyle, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
[ |
|
|
|
[ |
|
|
|