I'm trying to change styles in react-date-picker border color with the condition.
I need to change react-date-picker border color to red when I chose the wrong date.
I can use the CSS style sheet to change .react-date-picker__wrapper css class styles but I need to change that styles dynamically with the state changes. any idea for do that?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…