Skip to content

Commit

Permalink
Update usage in other component stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Dec 11, 2024
1 parent 3506683 commit 83661be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/components/src/modal/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ const Template: StoryFn< typeof Modal > = ( { onRequestClose, ...args } ) => {
anim id est laborum.
</p>

<InputControl style={ { marginBottom: '20px' } } />
<InputControl
__next40pxDefaultSize
style={ { marginBottom: '20px' } }
/>

<Button variant="secondary" onClick={ closeModal }>
Close Modal
Expand Down
6 changes: 3 additions & 3 deletions packages/components/src/panel/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ _PanelRow.args = {
children: (
<PanelBody title="My Profile">
<PanelRow>
<InputControl label="First name" />
<InputControl label="Last name" />
<InputControl label="First name" __next40pxDefaultSize />
<InputControl label="Last name" __next40pxDefaultSize />
</PanelRow>
<PanelRow>
<div style={ { flex: 1 } }>
<InputControl label="Email" />
<InputControl label="Email" __next40pxDefaultSize />
</div>
</PanelRow>
</PanelBody>
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/tree-grid/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const Rows = ( {
label="Description"
hideLabelFromVision
placeholder="Description"
__next40pxDefaultSize
{ ...props }
/>
) }
Expand All @@ -121,6 +122,7 @@ const Rows = ( {
label="Notes"
hideLabelFromVision
placeholder="Notes"
__next40pxDefaultSize
{ ...props }
/>
) }
Expand Down

0 comments on commit 83661be

Please sign in to comment.