Next.js - Type error: 'Component' cannot be used as a JSX component. | @types/react 18.2.6 2023年5月8日 IT技術メモ