Comments (3)
@wendzhue
In Vue, there is no need to do extra work to support the title attribute. For undeclared properties, they are added by default to the root element of the component. So title will be added to the i
element by default instead of being added to svg
.
But if it is added to svg
, we need to make some changes.
svg
does not support <svg title="xxx"></svg>
, but instead
<svg><title>XXX</title></svg>
https://codesandbox.io/s/m55p5x7l4p
from ant-design-icons.
@yesmeck @tangjinzhou I guess this should be implemented in adapters?
from ant-design-icons.
https://github.com/smooth-code/svgr added this on gregberge/svgr@be39fe4
from ant-design-icons.
Related Issues (20)
- Console error the icon StartDateOutlined-o does not exist or is not registered
- filled/twitch.svg is wrong size
- @ant-design/icons-vue 4 Months Behind on Latest Icons HOT 1
- Add icon for safari browser
- XFilled 显示异常
- @types/react 18.2.66版本删除了onPointerEnterCapture、onPointerLeaveCapture事件 HOT 6
- @ant-design/[email protected] tsc 失败 HOT 3
- Appstore 的图标命名 HOT 2
- latest tag 指向的是 4.x 版本 HOT 4
- latest tag 再次指向了 4.x 版本 HOT 1
- 无法在 vite 和 remix 中使用 HOT 6
- Regarding the React Natvie bug issue HOT 1
- airplane, hotel icons missing in nz icon
- Cascade Layers support HOT 3
- icons-react 的 createFromIconfontCN 加载远程字体图标文件缺少异步逻辑处理
- 排序图标反了?
- Use `prefixCls` for `updateCss` to allow multiple instances of `IconProvider`
- Compile error when running with Bun HOT 1
- [vite] Internal server error: [vite] Named export 'UserOutlined' not found. The requested module '@ant-design/icons' is a CommonJS module, which may not support all module.exports as named exports. HOT 1
- CodeOutlined should be renamed to TerminalOutlined
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-icons.