ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
92.23k stars 49.4k forks source link

Auto-Complete Token Property not found #51288

Open Rishabh6200 opened 2 days ago

Rishabh6200 commented 2 days ago

Reproduction link

https://ant.design/components/auto-complete

Steps to reproduce

I'm unable to change the autocomplete color for the hover or active states.

What is expected?

how to fix this

What is actually happening?

I'm unable to change the autocomplete color for the hover or active states.

Environment Info
antd 5.21.4
React Nextjs ^14.2.3
System Windows
Browser Chrome/Edge

Object literal may only specify known properties, and 'hoverBorderColor' does not exist in type 'Partial & Partial & { algorithm?: boolean | MappingAlgorithm | MappingAlgorithm[] | undefined; }'

error comming

github-actions[bot] commented 2 days ago

Hello @Rishabh6200. Please provide a online reproduction by forking this one or provide a minimal GitHub repository like create-react-app-antd. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @Rishabh6200,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过 fork 这个在线重现案例 ,或者提供一个最小化的 GitHub 仓库(类似 create-react-app-antd)。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?