created:5/13/2021
updated:5/13/2021
loc
38
comments
13%
passed
12
coverage
78%
StoryData
Displays document data associated with a story
Name | Description | Default | |
|---|---|---|---|
BlockContainerOwnProps(6 properties) | |||
| title | optional section title for the block. string | - | |
| description | optional markdown description. string | - | |
| id | optional id to be used for the block if no id is provided, one will be calculated automatically from the title. string | - | |
| collapsible | if false, will nothave a collapsible frame. boolean | - | |
| data-testid | testing id string | - | |
| plain | inner container variant or plain boolean | - | |
HTMLAttributes(42 properties) | |||
Attributes(2 properties) | |||
AriaAttributes(48 properties) | |||
DOMAttributes(161 properties) | |||
-(2 properties) | |||
BoxOwnProps(3 properties) | |||
SpaceProps(28 properties) | |||
BackgroundColorProps(2 properties) | |||
OpacityProps(1 properties) | |||
StoryInputProps(1 properties) | |||
package | imports | peer |
|---|---|---|
BlockContainerPropsBlockContainer | ||
@component-controls/store ^3.15.0 | useStoryuseDocumentStoryInputProps | |
react ^17.0.1 | FC | * |
theme-ui ^0.8.4 | jsx |
file | imports |
|---|---|
| "./BaseStoryData" | BaseStoryDataBaseStoryDataProps |
| "../context" | useCustomProps |
<BlockContainer>
<BaseStoryData
storyIdvaluespagination
/>BaseStoryData
from"./BaseStoryData"