javascript – Divs in input using ant design

I need to create an effect like the one in tags on this site.
enter image description here

So I need an input with styled spans/divs inside. The simplest way would be to use .map on an array in state, and separate the elements with a space or ;

But I am also using Ant Design. I was curious if said library has a way of doing it that’s built in?

Target design:

enter image description here

Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here