Skip to content

Commit a46572b

Browse files
committed
Update PageLayout docs
1 parent bca1d85 commit a46572b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/content/drafts/PageLayout.mdx renamed to docs/content/PageLayout.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ storybook: https://primer.style/react/storybook?path=/story/layout-pagelayout--p
77
---
88

99
```js
10-
import {PageLayout} from '@primer/react/drafts'
10+
import {PageLayout} from '@primer/react'
1111
```
1212

1313
## Examples
@@ -20,7 +20,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
2020

2121
### Default
2222

23-
```jsx live drafts
23+
```jsx live
2424
<PageLayout>
2525
<PageLayout.Header>
2626
<Placeholder label="Header" height={64} />
@@ -39,7 +39,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
3939

4040
### With dividers
4141

42-
```jsx live drafts
42+
```jsx live
4343
<PageLayout>
4444
<PageLayout.Header divider="line">
4545
<Placeholder label="Header" height={64} />
@@ -58,7 +58,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
5858

5959
### With pane on left
6060

61-
```jsx live drafts
61+
```jsx live
6262
<PageLayout>
6363
<PageLayout.Header>
6464
<Placeholder label="Header" height={64} />
@@ -77,7 +77,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
7777

7878
### With condensed spacing
7979

80-
```jsx live drafts
80+
```jsx live
8181
<PageLayout padding="condensed" rowGap="condensed" columnGap="condensed">
8282
<PageLayout.Header>
8383
<Placeholder label="Header" height={64} />
@@ -96,7 +96,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
9696

9797
### Without header or footer
9898

99-
```jsx live drafts
99+
```jsx live
100100
<PageLayout>
101101
<PageLayout.Content>
102102
<Placeholder label="Content" height={240} />

0 commit comments

Comments
 (0)