react-tags icon indicating copy to clipboard operation
react-tags copied to clipboard

add an `as/use` attribute for custom `input`

Open moimikey opened this issue 4 years ago • 1 comments

Describe the solution you'd like

With styled-components, I can't exactly share the styles effectively on .react-tags__search-input. It would be helpful to pass my own custom input component.

Describe alternatives you've considered

Copying the styled-component styles to override .react-tags__search-input to look identical

Additional context

n/a

moimikey avatar Aug 19 '20 00:08 moimikey

If you only need to target the <input /> element does the existing inputAttributes prop meet your needs?

i-like-robots avatar Aug 21 '20 15:08 i-like-robots