export default (word) => {
return fetch(`${TrnsApi}?key=${TransKey}&lang=en-ru&text=${word}`).then(data => data.json()).then(trans =>
trans.text[0]
)
}
Promise {}
__proto__: Promise
[[PromiseStatus]]: "resolved"
[[PromiseValue]]: "свист"