console.log in jsx

JavaScript
  const ConsoleLog = ({ children }) => {
    console.log(children);
    return false;
  };
Source

Also in JavaScript: