score:2

Accepted answer

if you are talking about this react-select library. you can customize the inputcomponent like so:

import react from 'react';
import select, { components } from 'react-select';
import { typeoptions } from '../data';

const input = props => {
  // add attribues to the component below
  return <components.input {...props} />;
};

export default () => (
  <select
    components={{ input }}
    options={typeoptions}
  />
);

Related Query

More Query from same tag