react-tailwindcss-select icon indicating copy to clipboard operation
react-tailwindcss-select copied to clipboard

Placeholder type too limited

Open timothyarmes opened this issue 1 year ago • 1 comments

From a Typescript standpoint, you currently you only accept a string as a placeholder (although in reality we can pass a component).

Passing a component allows us to style the placeholder in order to change its color. Could you please update the type to accept string | React.Node ?

timothyarmes avatar Mar 09 '23 12:03 timothyarmes