-
Notifications
You must be signed in to change notification settings - Fork 26
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
v3-v4 升级后 Icon 有的需要手动修改 #221
Comments
Button 中配置的icon属性 npx -p @ant-design/codemod-v4 antd4-codemod src |
检测支持 icon=“filter”、但是没做 icon={‘filter’} 的兼容,你可以全局查找 icon={‘ 手动替换 |
Button组件中icon=“filter”这样的写法配合import { Icon } from '@ant-design/compatible';依然不能正确显示图标 |
需要改成 |
Button组件中icon=“filter”改成 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<Button
type={autoCompleteList.length !== bondStrategyTable.dataList.length ? 'primary' : 'normal'}
size={'small'}
icon={}
onClick={this.handleSwitchFilterDetail}
>
icon={‘filter’} icon={} 类似于这种全都要手动修改
The text was updated successfully, but these errors were encountered: