Uh oh!
There was an error while loading. Please reload this page.
feat: support items & add deprecated warning - #312
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@## master #312 +/- ##
==========================================
+ Coverage 98.85% 99.12% +0.27%
==========================================
Files 4 5 +1 Lines 87 114 +27 Branches 33 40 +7 ==========================================
+ Hits 86 113 +27
Misses 1 1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This reverts commit fe8951f. # Conflicts: # src/Collapse.tsx
kiner-tang
commented
Mar 29, 2023
覆盖率掉了,看看? |
Uh oh!
There was an error while loading. Please reload this page.
Wxh16144
commented
Mar 29, 2023
属性是透传的,所以忽略了,可以考虑补一补 |
TODOs:
|
This reverts commit 1143d31.
| const children = toArray(rawChildren).map(getNewChild); | ||
| // eslint-disable-next-line @typescript-eslint/no-shadow | ||
| const convertItemsToNodes = (items: ItemType[]) => |
There was a problem hiding this comment.
这个抽成一个 hooks:
constchildNodes=useItems(items,rawChildren);
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This reverts commit 59a9d5f.
No description provided.