Allow Copyable to be used without children elements
LuizAsFight opened this issue · 1 comments
LuizAsFight commented
Motivation
Currently, if you want to use Copyable component, but without any text, you need to do like this:
<Copyable value={'ID'} children={<></>} />
or worse:
<Copyable value={'ID'}> </Copyable>
<Copyable value={'ID'}>{' '}</Copyable>
Usage example
Copyable should allow being created with only:
<Copyable value={'ID'} />
Possible implementations
No response
Aksa12 commented
Hey, I would like to work on this issue.