mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Content fixes
- Remove extraneous `ts-4-9` snippet references - These are auto-added by `frontpage`' CodeSnippets component - Fix inaccurate prop types
This commit is contained in:
parent
4b9b2de0c1
commit
d39dd9e1ea
@ -70,6 +70,7 @@ The example above applied the parameter at the [story](../writing-stories/parame
|
||||
|
||||
Type:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```ts
|
||||
Array<{
|
||||
title: string | JSX.Element;
|
||||
@ -78,6 +79,7 @@ Array<{
|
||||
disabled?: boolean;
|
||||
}>;
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
Default: `parameters.docs.canvas.additionalActions`
|
||||
|
||||
@ -164,7 +166,7 @@ Specifies which story's source is displayed.
|
||||
|
||||
### `source`
|
||||
|
||||
Type: `'code' | 'format' | 'language' | 'type'`
|
||||
Type: `SourceProps['code'] | SourceProps['format'] | SourceProps['language'] | SourceProps['type']`
|
||||
|
||||
Specifies props passed to the inner `Source` block. See [SourceProps](./doc-block-source.md#sourceprops).
|
||||
|
||||
@ -188,7 +190,7 @@ Specifies the initial state of the source panel.
|
||||
|
||||
### `story`
|
||||
|
||||
Type: `'inline' | 'height' | 'autoplay'`
|
||||
Type: `StoryProps['inline'] | StoryProps['height'] | StoryProps['autoplay']`
|
||||
|
||||
Specifies props passed to the inner `Story` block. See [StoryProps](./doc-block-story.md#storyprops).
|
||||
|
||||
|
@ -93,7 +93,6 @@ export const Button = () => <button>Click me</button>;
|
||||
'web-components/api-doc-block-description-example.ts.mdx',
|
||||
'common/api-doc-block-description-example.js.mdx',
|
||||
'common/api-doc-block-description-example.ts.mdx',
|
||||
'common/api-doc-block-description-example.ts-4-9.mdx',
|
||||
]}
|
||||
/>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user