Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the dropdown supposed to span all the way to the edge of the -> button? (it does in the old screenshot, so just wanted to check)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bekah-stephens good catch - It doesn't extend to the button in the advanced search react demo but it does in the plain react examples. I'll make an issue to update the react demo and update this image

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: Panel
section: components
---

import '../components.css';

## Usage
Panels are commonly used:
- To provide more content structure through the UI.
Expand All @@ -11,7 +13,10 @@ Panels are commonly used:
### Examples

The panel is used as a content block with a header, body, and footer.<br/>
<img src="./img/basic_panel.jpg" alt="A basic panel with a header, body and footer" width="600" /><br/>
<div class="ws-docs-content-img">![A basic panel with a header, body and footer.](./img/basic-panel.svg)</div><br/>

The panel is used as a dropdown menu for <a href="https://www.patternfly.org/components/search-input/react-demos#composable-advanced-search">advanced search input</a>.<br/>

The panel is used a dropdown menu for <a href="https://v4-archive.patternfly.org/v4/components/search-input/react-demos/#composable-advanced-search">advanced search input</a>.<br/>
<img src="./img/search_panel.jpg" alt="The panel is used a dropdown menu for advanced search input" width="600" />
<div class="ws-docs-content-img">
![A panel being used as a dropdown menu for advanced search input.](./img/search-panel.svg)
</div>