fix: property 'children' does not exist in React 18 by arpitBhalla · Pull Request #3663 · react-native-elements/react-native-elements
Motivation
Fixes #3628
Type of change
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
How Has This Been Tested?
- Jest Unit Test
- Checked with
exampleapp
Checklist
- My code follows the style guidelines of this project
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation using
yarn docs-build-api - My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules
Additional context
arpitBhalla
changed the title
fix
fix: property 'children' does not exist on type 'IntrinsicAttributes & AvatarProps in React 18
arpitBhalla
changed the title
fix: property 'children' does not exist on type 'IntrinsicAttributes & AvatarProps in React 18
fix: property 'children' does not exist in React 18
Codecov Report
Merging #3663 (bb9f10c) into next (67eb98b) will not change coverage.
The diff coverage is100.00%.
@@ Coverage Diff @@ ## next #3663 +/- ## ======================================= Coverage 79.40% 79.40% ======================================= Files 87 87 Lines 1821 1821 Branches 812 812 ======================================= Hits 1446 1446 Misses 370 370 Partials 5 5
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/themed/src/config/withTheme.tsx | 86.48% <100.00%> (ø) |
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters