react native disable yellowbox code example
Example 1: remove yellow warning react native emulator
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator
Example 2: disable yellow box react native
console.disableYellowBox = true;
Example 3: hide warnings in expo app
console.disableYellowBox = true;
// add this is main component of react native application