-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
fix: Fixing default values for size
and stroke
attributes
#1145
fix: Fixing default values for size
and stroke
attributes
#1145
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 |
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. |
WalkthroughThe changes made to the Changes
Assessment against linked issues
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- packages/icons-vue/src/createVueComponent.ts (1 hunks)
Additional comments not posted (1)
packages/icons-vue/src/createVueComponent.ts (1)
12-12
: LGTM! The changes align with the PR objective.The code changes are approved for the following reasons:
- The addition of default values for the
size
andstroke
parameters aligns with the PR objective of defining default values for these attributes.- The default values ensure that the component behaves consistently even when these attributes are not provided, enhancing its usability.
- The changes do not introduce any syntax errors or logical issues.
- The changes are limited to the function signature and do not affect the rest of the function body.
size
and stroke
attributessize
and stroke
attributes
Defining default values as it's done for React component.
Fixes #1067
Summary by CodeRabbit
New Features
size
andstroke
properties in the icon component, ensuring consistent rendering and improved usability.Bug Fixes