Web: Components: Passed event to onClick handler
This commit is contained in:
parent
a454b51bfe
commit
e2a80c0e0c
@ -99,8 +99,8 @@ const DropDownItem = props => {
|
||||
const { isSeparator, label, icon, children, disabled , onClick } = props;
|
||||
const color = disabled ? '#A3A9AE' : '#333333';
|
||||
|
||||
const onClickAction = () => {
|
||||
onClick && !disabled && onClick();
|
||||
const onClickAction = (e) => {
|
||||
onClick && !disabled && onClick(e);
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user