encode url to put to require in react code example Example: type script encode url var encodeURI = encodeURIComponent("&")