I have handle click and I want to access the className of the div element, how can I do that
this is the element i want to get the div className
<div className="milad"> <IconButton style={{outline:'none', color: 'white', float:'right', marginRight:'20px', marginTop: "5px"}} className = "iconButton" >menu <MenuIcon/> </IconButton> </div>this is my
checkHandleClick = (event) => { console.log(event); } ----------------------------------------------------------------- <ClickAwayListener onClickAway={((e) => this.checkHandleClick(e))}> -----some code------ </ClickAwayListener>
I want to access this Console.log