Skip to content

Commit 09f6833

Browse files
committed
chore: remove right section usage from the storybook
1 parent e507f89 commit 09f6833

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/stories/PageLayout.stories.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const meta = {
3636
view.
3737
</Pane>
3838
),
39-
right: <Pane name="Right">The content on the right.</Pane>,
4039
children: (
4140
<Pane name="Content">
4241
<div style={{ fontWeight: "bold" }}>
@@ -64,11 +63,6 @@ const meta = {
6463
description:
6564
"JSX element to be rendered on the left of the content as render-prop.",
6665
},
67-
right: {
68-
control: false,
69-
description:
70-
"JSX element to be rendered on the right of the content as render-prop.",
71-
},
7266
children: {
7367
control: false,
7468
description: "Children to be rendered as the content.",
@@ -78,8 +72,8 @@ const meta = {
7872
layout: "centered",
7973
},
8074
tags: ["autodocs"],
81-
render: ({ children, left, right }) => (
82-
<PageLayout left={left} right={right}>
75+
render: ({ children, left }) => (
76+
<PageLayout left={left}>
8377
{children}
8478
</PageLayout>
8579
),

0 commit comments

Comments
 (0)