One of my components creates a list of strings with random size (say 4~10 strings) everytime it is called.
Suppose the list is ["airplane", "ball", "car", "dice"]
.
I want to return a html structure that looks like this:
airplane [button]
ball [button]
car [button]
dice [button]
How can I do that? I don't know how to return a dynamic size thing.