Skip to content

Commit

Permalink
Merge pull request #25855 from storybookjs/docs_remove_deprecations_d…
Browse files Browse the repository at this point in the history
…oc_blocks

Docs: Remove deprecated props from Canvas Doc Block
  • Loading branch information
jonniebigodes authored Feb 2, 2024
2 parents 5efabcb + f38ab19 commit 3d4530a
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions docs/api/doc-block-canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,51 +203,3 @@ Type: `boolean`
Default: `parameters.docs.canvas.withToolbar`

Determines whether to render a toolbar containing tools to interact with the story.

### `children`

(⛔️ **Deprecated**)

Type: `React.ReactNode`

Expects only [Story](./doc-block-story.md) children. Reference the story with the `of` prop instead.

### `columns`

(⛔️ **Deprecated**)

Type: `number`

Splits the stories based on the number of defined columns. Multiple stories are not supported.

### `isColumn`

(⛔️ **Deprecated**)

Type: `boolean`

Displays the stories one above the other. Multiple stories are not supported.

### `mdxSource`

(⛔️ **Deprecated**)

Type: `string`

Provides source to display. Use [`source.code`](#source) instead.

### `withSource`

(⛔️ **Deprecated**)

Type: `'open' | 'closed' | 'none'`

Controls the source code block visibility. Use [`sourceState`](#sourcestate) instead.

### `withToolbar`

(⛔️ **Deprecated**)

Type: `boolean`

Sets the Canvas toolbar visibility. Use [`story.withToolbar`](#story) instead.

0 comments on commit 3d4530a

Please sign in to comment.