using console.log inside return react code example
Example: console.log in jsx
const ConsoleLog = ({ children }) => {
console.log(children);
return false;
};
const ConsoleLog = ({ children }) => {
console.log(children);
return false;
};