react-translated icon indicating copy to clipboard operation
react-translated copied to clipboard

return empty string

Open hamid07ss opened this issue 6 years ago • 2 comments

it's not possible to return empty string?

in my project i used many strings by react-translated and now i want to hide some of these strings so if i can return empty string like this

"some-string": {
    "en": ""
},

should be helpful

hamid07ss avatar Jun 02 '19 09:06 hamid07ss

@hamid07ss if you want to hide the text, it would make more sense to remove it from the rendering, right?

amsul avatar Jun 02 '19 21:06 amsul

my project is a fully customizable panel and I set descriptions for everywhere! now I want to let my users that if they not need, hide some of these strings

hamid07ss avatar Jun 03 '19 05:06 hamid07ss