geido commented on code in PR #32705:
URL: https://github.com/apache/superset/pull/32705#discussion_r2016976224


##########
superset-frontend/src/components/Input/index.tsx:
##########
@@ -17,10 +17,13 @@
  * under the License.
  */
 
-import { Input as AntdInput, InputNumber as AntdInputNumber } from 'antd-v5';
-
-export const Input = AntdInput;
+import { Input as Antd5Input, InputNumber as AntdInputNumber } from 'antd-v5';
 
 export const InputNumber = AntdInputNumber;
 
-export const { TextArea } = AntdInput;
+export const Input = Object.assign(Antd5Input, {

Review Comment:
   Do we need this. It seems we are just re-assigning the same properties that 
the component already has?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to