I have to set an attribute to the fragment. I want to do something like this:
<className="name">
abcd
</>
Is there any way to do like this?
abcd > Is there any way to do like this?" /> abcd > Is there any way to do like this?" /> abcd > Is there any way to do like this?"/>
I have to set an attribute to the fragment. I want to do something like this:
<className="name">
abcd
</>
Is there any way to do like this?
Copyright © 2021 Jogjafile Inc.
You can't since it's React specific and not an HTML tag. Here is what the docs say: