Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick 导致属性报错 #503

Closed
wants to merge 2 commits into from
Closed

Commits on Oct 22, 2021

  1. Pick 导致属性报错

    react 16. 13 以下的版本会报错。
    Pick 属性的时候,不能在 React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>>; 中,找到translate,需要每个图标自己添加。否则 TSlLint报错。
    鼠标滚轮 onAuxClick, onAuxClickCapture 也有类似的问题,需要更新或修改  @types/react/index.d.ts  这个可以说是react版本问题。
    liubailing committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    9731fd6 View commit details
    Browse the repository at this point in the history
  2. Update Icon.tsx

    liubailing committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    7d0787d View commit details
    Browse the repository at this point in the history