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

Custom Classes #19

Open
Open

Description

@alexandermarston

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.

Activity

  1. agredalex1997 commented on Jul 1, 2021

    @agredalex1997

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

  2. LucidNinja commented on Feb 11, 2022

    @LucidNinja

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

  3. LucidNinja commented on Feb 11, 2022

    @LucidNinja

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

  4. biswajit-k commented on May 10, 2022

    @biswajit-k

    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.

  5. LucidNinja commented on May 11, 2022

    @LucidNinja

    @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.

  6. biswajit-k commented on May 11, 2022

    @biswajit-k

    @LucidNinja Great Job! It is extremely helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions