cascader icon indicating copy to clipboard operation
cascader copied to clipboard

Use ReactNode for children of Cascader to allow null, strings and more

Open FredrikAugust opened this issue 4 years ago • 5 comments

This is the default behaviour for components in React, and will allow null as a child (which is the result when typing <Component />).

FredrikAugust avatar Oct 28 '21 08:10 FredrikAugust

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

vercel[bot] avatar Oct 28 '21 08:10 vercel[bot]

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 Impacted file tree graph

@@           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 data Powered by Codecov. Last update 00c05ab...db2b348. Read the comment docs.

codecov[bot] avatar Oct 28 '21 09:10 codecov[bot]

rc-tree-select 里要先改下。

afc163 avatar Dec 15 '21 13:12 afc163

English? 🇬🇧

FredrikAugust avatar Dec 15 '21 13:12 FredrikAugust

图片

CI failed

afc163 avatar Dec 30 '21 03:12 afc163