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

Implement SplitPageLayout #2239

Merged
merged 12 commits into from
Aug 18, 2022
5 changes: 5 additions & 0 deletions .changeset/four-jeans-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Add draft `SplitPageLayout` component
12 changes: 6 additions & 6 deletions docs/content/PageLayout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ componentId: page_layout
status: Alpha
# description: TODO
source: https://github.com/primer/react/tree/main/src/PageLayout
storybook: https://primer.style/react/storybook?path=/story/layout-pagelayout--playground
storybook: https://primer.style/react/storybook?path=/story/layout-pagelayout--default
---

```js
Expand Down Expand Up @@ -215,7 +215,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
type={`| 'none'
| 'condensed'
| 'normal'`}
defaultValue="'normal'"
defaultValue="'none'"
description="The amount of padding inside the header."
/>
<PropsTableRow
Expand Down Expand Up @@ -277,7 +277,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
type={`| 'none'
| 'condensed'
| 'normal'`}
defaultValue="'normal'"
defaultValue="'none'"
description="The amount of padding inside the content."
/>
<PropsTableRow
Expand Down Expand Up @@ -312,7 +312,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
| 'start'
| 'end'
}`}
defaultValue="'start'"
defaultValue="'end'"
/>
<PropsTableRow
name="positionWhenNarrow"
Expand Down Expand Up @@ -342,7 +342,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
type={`| 'none'
| 'condensed'
| 'normal'`}
defaultValue="'normal'"
defaultValue="'none'"
description="The amount of padding inside the pane."
/>
<PropsTableRow
Expand Down Expand Up @@ -395,7 +395,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
type={`| 'none'
| 'condensed'
| 'normal'`}
defaultValue="'normal'"
defaultValue="'none'"
description="The amount of padding inside the footer."
/>
<PropsTableRow
Expand Down
Loading