Click here to Skip to main content
15,898,222 members

Comments by Member 15507303 (Top 1 by date)

Member 15507303 17-Feb-22 13:51pm View    
Thank you. In the meanwhile I could create the feature by making use of the given code in this manner:

{hide_indicator ? null : ( classNme = {classes.arrow} ref={this.handleArrowRef)}

Now I need to change this line using two classes which I'm supposed to create with css. So "null" is to become one class and the term in another class.

Like so:
{hide_indicator ? hideIndicatorClass : showIndicatorClass}

However, I struggle to retrieve the data from the written css classes. Whatever Boolean I choose for the prop "hide_indicator" in the App.js file, I only get to see one version of the two variations that is, "true" and "false" both yield no arrow indicator.

I tried various syntax changes, this one at least doesn't give me errors. Still, I am not sure whether it's correct. Maybe you can provide some more hints.

Anyway, thank you very much Andre