How to disable yellow warning in React Native

How to disable yellow warning in react native



First of all import react component react :
import React, { Component } from "react";

Now just turn disable yellow Box to true:
console.disableYellowBox = true;

Full Code :
import React, { Component } from "react";
console.disableYellowBox = true;
export default class App extends Component {
render() {
return (
<View>
{/*Component Code Goes here*/}
</View>
);
}
}

Check this awesome tutorial 


Thank you