disable yellow box react native

JavaScript
console.disableYellowBox = true;
Source

Also in JavaScript: