-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Table] Migrate TableBody to emotion #24658
Conversation
@material-ui/core: parsed: +0.08% , gzip: +0.06% |
For fixing the error - https://app.circleci.com/pipelines/github/mui-org/material-ui/37282/workflows/f4054c2a-44af-4550-8ada-1e1c75514d81/jobs/220749 I believe we need to introduce a new option to the |
Alright I have taken a shot at getting |
Did you try to introduce some |
Oh I see what you mean. |
Exactlly, just watch out that the return result from render is a bit different, I suppose you would need to alter the |
Ok let me know what you think of 370b4c5 Maybe once we get this figured out I should wait till it gets merged to next, then rebase next for the |
Exactly what I had in mind, I would maybe just suggest renaming the param to |
I was just wondering the same thing as I re-read my comment Ill wait to hear the instructions. Ill Start on a none table component until we get this merged into next |
classes, | ||
inheritComponent: 'tbody', | ||
mount: (node) => { | ||
const wrapper = mount(<table>{node}</table>); | ||
return wrapper.find('table').childAt(0); | ||
}, | ||
|
||
wrapRender: (node) => { |
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.
Agree with Marija, render
sounds better and more consistent with what Sebastian did with mount
.
wrapRender: (node) => { | |
render: (node) => { |
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.
Am I still ok to use wrapRender
in the conformance tests as the name would conflict with the normal render
?
classes, | ||
inheritComponent: 'tbody', | ||
mount: (node) => { | ||
const wrapper = mount(<table>{node}</table>); | ||
return wrapper.find('table').childAt(0); | ||
}, | ||
|
||
wrapRender: (node) => { |
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.
Marking this for future follow-up: check-out something like render(node, { container: document.createElement('tabl') })
(need to check for connectedness and cleanup)
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
I suck at rebasing... Ill open a new PR |
#24405