A next-generation tool to create blazing-fast documentation sites
API
created:5/13/2021
updated:5/13/2021
loc
38
comments
13%
passed
12
coverage
78%

StoryData

avatar of atanasster
@component-controls/blocks
3.15.0

Displays document data associated with a story

import { StoryData } from '@component-controls/blocks';

Pagination

Test Data

select
#
name
age
1
Cecelia Langosh
16
2
Murl Green I
26
3
Lela McClure
24
4
Ms. Jean Barrows
23
Total: 5 records
Page 1 of 2
Name
Description
Default
Controls
pageSize
number
4
pageVisible
boolean
true
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)

Commits

Date
Author
Commit Message
5/12/2021

atanasster

avatar of atanasster
feat: data driven testing ui
1 commits
package
imports
peer
BlockContainerPropsBlockContainer
useStoryuseDocumentStoryInputProps
react
^17.0.1
FC
*
theme-ui
^0.8.4
jsx
file
imports
"./BaseStoryData"
BaseStoryDataBaseStoryDataProps
"../context"
useCustomProps

Stories

Overview

select
#
name
age
1
Cecelia Langosh
16
2
Murl Green I
26
3
Lela McClure
24
4
Ms. Jean Barrows
23
5
Tanya Sanford
19
5 data rows