next.js / packages /next-codemod /transforms /__testfixtures__ /name-default-component /function-component.output.js
| const FunctionComponentInput = () => { | |
| const x = 'y'; | |
| if (true) { | |
| return <div>Anonymous function</div>; | |
| } | |
| return null; | |
| }; | |
| export default FunctionComponentInput; | |