Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Custom Classes #19

Open
alexandermarston opened this issue May 5, 2021 · 6 comments
Open

Custom Classes #19

alexandermarston opened this issue May 5, 2021 · 6 comments

Comments

@alexandermarston
Copy link

It would be useful if we could pass custom class names to the Tag Input component. This would be especially useful for when using things like TailwindCSS as it would handle light/dark mode well.

@agredalex1997
Copy link

@alexandermarston this is possible with the className prop, no?

@LucidNinja
Copy link

This would be super helpful className isn't passed down to the input.

@LucidNinja
Copy link

I have tackled this issue with this PR #27 - this is also a fairly large refactor of the project, allowing for ref forwarding also.

@biswajit-k
Copy link

Is this feature implemented now? I have its usecase in my current project. If not then it would be great if someone could take it. This will make customizations highly flexible.

@LucidNinja
Copy link

@biswajit-k - I have forked the project here: https://github.com/LucidNinja/react-tag-input and have created a pull request for this, but nothing has come of the PR to date. This is a bit of a rewrite under the hood though (functional instead of class based). But for all intents and purposes it's the same package but with the ability to use wrapperClass and inputClass. That said, I haven't published this to NPM, but I can if required.

@biswajit-k
Copy link

biswajit-k commented May 11, 2022

@LucidNinja Great Job! It is extremely helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants