I am new to React and I want to design a simple dropdown having options like : Last 30 days , Last 60 days , Last 6 months.
Based on selection , I will render an specific array of object. Can someone guide me how I can design one, I tried looking at airbnb react-dates but I dont want a calender pop up. Also I was thinking of simply using moment but not sure how to design one. If some one has a codepen example please help me.