Skip to content
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

chore: create separate components for inline and external svgs #98

Merged
merged 5 commits into from
Mar 7, 2023

Conversation

dtjones404
Copy link
Contributor

No description provided.

@dtjones404 dtjones404 requested a review from a team as a code owner March 6, 2023 19:51
@dtjones404 dtjones404 marked this pull request as draft March 6, 2023 19:52
@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Patch coverage has no change and project coverage change: +1.88 🎉

Comparison is base (6d84a30) 73.27% compared to head (b79627d) 75.16%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   73.27%   75.16%   +1.88%     
==========================================
  Files          41       41              
  Lines         348      467     +119     
  Branches       36       65      +29     
==========================================
+ Hits          255      351      +96     
- Misses         90      113      +23     
  Partials        3        3              
Impacted Files Coverage Δ
src/constants.js 100.00% <ø> (ø)
src/lib/components.jsx 75.00% <ø> (+25.00%) ⬆️
src/logos/applepay/logo.jsx 90.90% <ø> (+3.40%) ⬆️
src/logos/applepay/mark.jsx 100.00% <ø> (ø)
src/logos/bancontact/logo.jsx 90.90% <ø> (+3.40%) ⬆️
src/logos/bank/glyph/logo.jsx 27.27% <ø> (+2.27%) ⬆️
src/logos/blik/logo.jsx 27.27% <ø> (+2.27%) ⬆️
src/logos/boleto/logo.jsx 27.27% <ø> (+2.27%) ⬆️
src/logos/card/amex/logo.jsx 80.00% <ø> (-5.72%) ⬇️
src/logos/card/discover/logo.jsx 80.00% <ø> (-5.72%) ⬇️
... and 69 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dtjones404 dtjones404 marked this pull request as ready for review March 7, 2023 00:07
alt="Apple Pay"
aria-label="Apple Pay"
cdnUrl={cdnUrl}
render={() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need the render() function for these ExternalImage components?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't. I'll see about getting it removed!

@gregjopa gregjopa changed the title chore: create POC for split components chore: create separate components for inline and external svgs Mar 7, 2023
Copy link
Contributor

@gregjopa gregjopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work @dtjones404! 💯

@dtjones404 dtjones404 merged commit c09ec7a into main Mar 7, 2023
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.

2 participants