Skip to content
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

[Storybook] Add stories for more components (letter P) - Part 1 #7648

Merged
merged 20 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix ternary shenanigans 🤦
i'm a senior developer errybody
  • Loading branch information
cee-chen committed Apr 10, 2024
commit 315abfeaddbe31a6eb9d211b4ef70465776ed083
3 changes: 2 additions & 1 deletion src/components/page_template/page_template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ export const _EuiPageTemplate: FunctionComponent<EuiPageTemplateProps> = ({

const innerPanelled = panelled ?? Boolean(sidebar.length > 0);
const innerBordered = contentBorder ?? Boolean(sidebar.length > 0);
const headerBottomBorder = bottomBorder ?? sidebar.length ? true : 'extended';
const headerBottomBorder =
bottomBorder ?? (sidebar.length ? true : 'extended');

const templateContext = useMemo(() => {
mgadewoll marked this conversation as resolved.
Show resolved Hide resolved
return {
Expand Down
Loading