I'm building React app with AntDesign lib (dashboard to displaying data based on some filters), currently I'm focused on time filters section. I have got 3 components: (1)Radio, (2)TimePicker and (3)Input.
Because I have to check the state of each component and do a value verification the logic is a bit confusing. I wonder how to effectively solve it. Maybe someone did something similar and could recommend some idea?
Components visualisation
Thank you guys!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…