Fine tuning and docs for Panel

Summary: Better documentation for Panel. Fixes styling issue for uncollapsible panels

Reviewed By: passy

Differential Revision: D28025557

fbshipit-source-id: db0f9fd44f501fa36be3fc31ebbe7917d7c0a88c
This commit is contained in:
Michel Weststrate
2021-04-27 08:12:19 -07:00
committed by Facebook GitHub Bot
parent 2b6e585fd2
commit 34e5e3a11a
3 changed files with 67 additions and 9 deletions

View File

@@ -810,9 +810,21 @@ See `View > Flipper Style Guide` inside the Flipper application for more details
### ElementSearchResultSet
### ElementsInspectorElement
### ElementsInspectorProps
### Panel
Coming soon.
A collapsible UI region. The collapsed state of the pane will automatically be persisted so that the collapsed state is restored the next time user visits the plugin again. Note that the children of a Panel should have some size, either a fixed or a natural size. Elements that grow to their parent size will become invisible.
For demos and property documentation see the 'Flipper style guide'.
### Tabs
### Tab
The `Tabs` and `Tab` component re-expose the TabControl as provided by Antd, and support the same properties. See [official docs](https://ant.design/components/tabs/).
The following additional properties are supported:
* `grow`. If set, the tab control will use all available vertical space. By default `false`.
### DataList