981377660LMT / ts

ts学习
6 stars 1 forks source link

Its return type 'ReactNode' is not a valid JSX element 报错 #323

Open 981377660LMT opened 1 year ago

981377660LMT commented 1 year ago

https://stackoverflow.com/questions/58123398/when-to-use-jsx-element-vs-reactnode-vs-reactelement

981377660LMT commented 1 year ago

'ReactNode' is not a valid JSX element.