What would be the correct way to style a component based on whether a react-values hoc had the disabled property set? It really looks like you can only access the value but maybe there's nothing wrong with leveraging closure to get at whichever variable is used to set disabled?
What would be the correct way to style a component based on whether a
react-values
hoc had thedisabled
property set? It really looks like you can only access thevalue
but maybe there's nothing wrong with leveraging closure to get at whichever variable is used to setdisabled
?