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:
Kyle Gach 2023-03-08 10:20:36 -07:00
parent 4b9b2de0c1
commit d39dd9e1ea
2 changed files with 4 additions and 3 deletions

View File

@ -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).

View File

@ -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',
]}
/>