'Icon' refers to a value, but is being used as a type here. Did you mean 'typeof Icon'
在ts文件中使用了,ts中并不能使用JSX
ts
JSX
修改文件后缀为tsx
tsx