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

Add button variant to add/remove tags #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alramalho
Copy link

@alramalho alramalho commented Jul 2, 2020

  • Add buttons to add/remove tags, just add a buttonVariant=true as prop to your ReactTagInput component.
    • Style these new buttons can be styled through buttonStyle prop.
    • These buttons can also receive a function, which can return JSX, this can be used to pass icons (<FontAwesome icon="X"/> for example).

I found this useful for mobile coverage (no enter available)

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

Successfully merging this pull request may close these issues.

1 participant