Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update Panel Component Documentation #9836
Expands on the existing Panel Documentation with greater information about the props. I was unsure about how much detail to include about using the whole Panel (which is used less often as I understand it) versus using it within the InspectorControls panel, so I included information about both. There is still some possibility of confusion on when to use Panel versus just PanelBody however.
How has this been tested?
Example components have been tested with a dummy component to ensure they work out of the box
Types of changes
Just a documentation update to address #9107
I added a few visual tweaks to make it look similar to other documentation files I'm familiar with.
I removed the example for
InspectorControls as it is part of another npm package and is only confusing for those who want only to use the components listed in this file.
Thanks for your contribution