-
Notifications
You must be signed in to change notification settings - Fork 98
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
feat(TreeList): new useList family component #1417
feat(TreeList): new useList family component #1417
Conversation
Playwright Test Component is ready. |
Preview is ready. |
src/components/TreeList/TreeList.tsx
Outdated
renderItem: propsRenderItem, | ||
renderContainer = TreeListContainer, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: rename renderContainer
to containerSlot
and move renderItem
to the children
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are two different possibilities. For most tasks, you don't need to redefine the container
...omponents/TreeList/__stories__/components/WithGroupSelectionControlledStateAndCustomIcon.tsx
Outdated
Show resolved
Hide resolved
b636f1c
to
a04fe77
Compare
/fixed |
…e with keyboard dnd
a04fe77
to
d6ebede
Compare
/** | ||
* Add active styles and change selection behavior during dnd is performing | ||
*/ | ||
isDragging?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's call dragging
like other states with no is*
onItemClick
callback arguments;