Browse Source

chore: Fix compile error (#23131)

pull/23132/head
二货机器人 5 years ago
committed by GitHub
parent
commit
49acc871b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/input/Password.tsx

2
components/input/Password.tsx

@ -57,7 +57,7 @@ export default class Password extends React.Component<PasswordProps, PasswordSta
e.preventDefault();
},
};
return React.createElement(icon, iconProps);
return React.createElement(icon as React.ComponentType, iconProps);
};
saveInput = (instance: Input) => {

Loading…
Cancel
Save