Use ReactNode for children of Cascader to allow null, strings and more
This is the default behaviour for components in React, and will allow null as a child (which is the result when typing <Component />).
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/cascader/41XQ9tEKRWRm9qQfW9CKho5rQ8gT
✅ Preview: https://cascader-git-fork-fredrikaugust-patch-1-react-component.vercel.app
Codecov Report
Merging #208 (8d014fa) into master (00c05ab) will not change coverage. The diff coverage is
n/a.
:exclamation: Current head 8d014fa differs from pull request most recent head db2b348. Consider uploading reports for the commit db2b348 to get more accurate results
@@ Coverage Diff @@
## master #208 +/- ##
=======================================
Coverage 99.71% 99.71%
=======================================
Files 9 9
Lines 355 355
Branches 95 95
=======================================
Hits 354 354
Misses 1 1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/Cascader.tsx | 100.00% <ø> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 00c05ab...db2b348. Read the comment docs.
rc-tree-select 里要先改下。
English? 🇬🇧
CI failed