Closed andrey-hohlov closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
tabler-icons | ✅ Ready (Inspect) | Visit Preview | Sep 26, 2024 11:45pm |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
We still need to have default size
value as react package has
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
The changes made to the createVueComponent
function involve setting default values for the size
and stroke
properties in the IconProps
object. This adjustment ensures that if these properties are not provided, they will default to 24
for size
and 2
for stroke
, enhancing the component's usability.
File | Change Summary |
---|---|
packages/icons-vue/src/createVueComponent.ts |
Default values for size and stroke properties added to the createVueComponent function. |
Objective | Addressed | Explanation |
---|---|---|
Default stroke-width should be set if not provided (#1067) | ✅ |
🐇 "In a world of icons, bright and bold,
With size and stroke, a story told.
No more undefined, just values true,
A hop of joy for me and you!
Let’s dance in colors, let’s play all day,
With every stroke, we’ll find our way!" 🌈
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Defining default values as it's done for React component. Fixes https://github.com/tabler/tabler-icons/issues/1067
Summary by CodeRabbit
New Features
size
andstroke
properties in the icon component, ensuring consistent rendering and improved usability.Bug Fixes