I want when I click the button, state.text will be reset to the empty string. But when I click to the area of font awesome, it’s not working. Help me, please!!!
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) coc_coc_browser/80.0.180 Chrome/74.0.3729.180 Safari/537.36.
hi @paukerspinner, it reminds me something I had to tackle during the D3 challange.
Give this css property to the span of the fontawesome icon: pointer-events: none;
If you want to do the inline css with React you have to do this: