Repository navigation
Components: require explicit children prop for all components - #31817
Conversation
|
Sorry for the ping, @ajitbohra and @chrisvanpatten — forgot to mark this as Draft from the start. You can ignore this PR for now |
|
Hey @sarayourfriend , just leaving a few notes here for the next time we discuss this issue. Removing the implicit
|
I think omitting it is the right way to go. Adding I'll take a look at the rest soon. Thanks for starting this PR! |
|
@ciampo I believe we may just be able to remove the stuff about
You're correct, it comes from |
sarayourfriend
left a comment
There was a problem hiding this comment.
LGTM so far. Just a couple nits/things to update but I think should be good to go soon 😁
|
@sarayourfriend I believe this PR is now ready for a final round of review |
|
@sarayourfriend could you give a final review round? All tests are passing :) |
Description
As part of the tasks listed in #30503, this PR aims at removing the implicit
childrenprop fromViewOwnPropsand from theuseContentSystemhook.The
childrenprop is added to all components that require it explicitly, instead of relying on the implicit definition.Testing instructions
npm run storybook:devand compare the components against what's currently in productionchildrenpropScreenshots
N/A
Types of changes
Refactor
Checklist:
*.native.jsfiles for terms that need renaming or removal).