How to customize options in react-select?
I’m using react-select but I have a data in object not in array & in options only accepting array values. How can I solve it? <Select options={ccUsers} onChange={handleChange} /> Working data :- const ccUsers = [ { value: ‘One’, label: ‘One’ }, { value: ‘Two’, label: ‘Two’ }, ]; But getting data in this format… Read More How to customize options in react-select?