Skip to content

chore: Add icon size and stroke width props#4514

Draft
at-susie wants to merge 2 commits into
mainfrom
feat/custom-icon-size
Draft

chore: Add icon size and stroke width props#4514
at-susie wants to merge 2 commits into
mainfrom
feat/custom-icon-size

Conversation

@at-susie
Copy link
Copy Markdown
Member

Description

This PR adds sizes and strokeWidths props to the IconProvider component, enabling customization of icon sizes and stroke widths at any scope in the component tree.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 41.46341% with 48 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.26%. Comparing base (f493264) to head (5e73292).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/icon-provider/internal.tsx 26.31% 28 Missing ⚠️
src/icon/internal.tsx 52.38% 19 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4514      +/-   ##
==========================================
- Coverage   97.41%   97.26%   -0.16%     
==========================================
  Files         933      936       +3     
  Lines       29595    29692      +97     
  Branches    10757    10794      +37     
==========================================
+ Hits        28831    28880      +49     
- Misses        716      804      +88     
+ Partials       48        8      -40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant