-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Components explorer improvements #2397
Components explorer improvements #2397
Conversation
nodeId={root.id} | ||
node={root} | ||
label={<Typography variant="body2">{root.name}</Typography>} | ||
onHover={onHover} |
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.
Forgot onMouseLeave={onMouseLeave}
here?
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.
It feels a bit like there's a lot of duplication in this component that leads to these sort of mistakes. Any way this could be improved?
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.
I'll look into that as well
packages/toolpad-app/src/toolpad/AppEditor/StructureExplorer/index.tsx
Outdated
Show resolved
Hide resolved
packages/toolpad-app/src/toolpad/AppEditor/StructureExplorer/index.tsx
Outdated
Show resolved
Hide resolved
…ui-toolpad into structure-explorer-fixes
Screen.Recording.2023-08-01.at.5.07.40.PM.mov