TypeScript and React - children type?
I think the issue was by ths following , In order to use in your JSX, it
needs to be a function that returns ReactElement | null. That's the
definition of a function component.However, it's currently defined as a
function that returns React.ReactNode
Date : November 15 2020, 07:01 PM , By : 艾浩宇