Skip to content

Commit b8fb973

Browse files
authored
docs: step list complex child (#5848)
1 parent ec99ee5 commit b8fb973

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

packages/ui/src/components/StepList/__stories__/ComplexChildren.stories.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { CheckIcon } from '@ultraviolet/icons'
2+
import { Badge } from '../../Badge'
23
import { Stack } from '../../Stack'
34
import { Text } from '../../Text'
45
import { StepList } from '..'
@@ -10,19 +11,11 @@ ComplexChild.decorators = [
1011
() => (
1112
<StepList>
1213
<StepList.Item bulletContent={<CheckIcon />} sentiment="success">
13-
<Stack gap={1}>
14+
<Stack alignItems="center" direction="row" gap={1}>
1415
<Text as="h4" variant="headingSmall">
1516
Lorem ipsum
1617
</Text>
17-
<Text as="p" variant="body">
18-
dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
19-
incididunt ut labore et dolore magna aliqua. Ut enim ad minim
20-
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
21-
ea commodo consequat. Duis aute irure dolor in reprehenderit in
22-
voluptate velit esse cillum dolore eu fugiat nulla pariatur.
23-
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
24-
officia deserunt mollit anim id est laborum
25-
</Text>
18+
<Badge sentiment="warning">Beta</Badge>
2619
</Stack>
2720
</StepList.Item>
2821
<StepList.Item bulletContent={<CheckIcon />}>

packages/ui/src/components/StepList/__stories__/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ export { Disabled } from './Disabled.stories'
1515
export { Sentiment } from './Sentiment.stories'
1616
export { Sizes } from './Sizes.stories'
1717
export { BulletIcon } from './BulletIcon.stories'
18+
export { ComplexChild } from './ComplexChildren.stories'

0 commit comments

Comments
 (0)