Comments (8)
让我试试修复这个bug吧~
from ant-design.
icon 属性也不支持非正方形的展示样式。
![图片](https://private-user-images.githubusercontent.com/507615/336346744-e08bd7e1-af65-4699-8b47-045932163259.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwODM1MTcsIm5iZiI6MTcxOTA4MzIxNywicGF0aCI6Ii81MDc2MTUvMzM2MzQ2NzQ0LWUwOGJkN2UxLWFmNjUtNDY5OS04YjQ3LTA0NTkzMjE2MzI1OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMlQxOTA2NTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMzgwZDI3ODY2NGJmNGUyZjk4ZGM3Y2JmZGU4M2NiZjExNzM0MzQ0Mjc3MTFhZjZlMTliNDNmNjk3MzgxOWU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.B6NhxcdrhXq00HGx4kp8NH0TFr3UE777oKITqD3P4EI)
from ant-design.
QRCode本身是支持的, 但是这边iconSize写死了,所以变成正方形了,可以考虑 iconSize 是一个对象或者number不
https://zpao.github.io/qrcode.react/
iconSize: {
width: 200.
height: 300
}
from ant-design.
对,是准备这么做的。
from ant-design.
当做两个新 feature 来做吧
from ant-design.
好的
#49240
from ant-design.
<QRCode onClick={() => console.log('click')} />
from ant-design.
from ant-design.
Related Issues (20)
- aria-required does not match the role of form items HOT 2
- Calendar opens several time if there is no need to confirm HOT 3
- 希望支持全局配置形态变体(variant) HOT 6
- Image自定义预览内容后工具栏不起作用 HOT 12
- Expansion items cannot be scrolled after table columns are fixed. 表格列固定后,扩展项无法滚动 HOT 2
- 希望能出一个Remixjs基于vite最新构建的antd5 ssr渲染的Demo? HOT 1
- antd5不支持Remix vite ssr渲染 HOT 9
- 官网 breadcrumb 部分demo加载失败 bug HOT 8
- Neutral Color Palette missing HOT 1
- Three way switch or switches with dynamic number of values HOT 3
- <StyleProvider layer /> messageApi.success() 等提示的图标颜色被覆盖 HOT 2
- Problem with hiding options and showing `notFoundContent` in Select "tags" mode HOT 1
- [Input]chrome浏览器上微软中文输入法输入123,4会自动变成123,44被多加了一位(可能是对value格式化引起的) HOT 3
- rc-virtual-list horizontal scroll bug, very fast scrolling HOT 1
- 自定义全局组件的 Empty 样式后,Table的过滤面板没生效 HOT 6
- Badge has insufficient color contrast HOT 3
- 使用谷歌浏览器的插件DARK READER的暗黑模式,ant-design的网站会报错打不开 HOT 2
- Incorrect decimal formatting/parsing in InputNumber component HOT 3
- Table组件的中当数据源中存在BigInt数据类型时,无法渲染此类型的Bug HOT 7
- Modal Close Button aria-label Not Correctly Translated for "de" Locale HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.