Skip to content

Commit

Permalink
fix(sidepanel): remove unwanted div from storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
makafsal committed Jan 6, 2025
1 parent 325d082 commit 6050bb3
Showing 1 changed file with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,17 +610,13 @@ const SlideInTemplate = (

return (
<>
<div class={`${prefix}story-container-lg`}>
<div class={`${prefix}story-content`} id="ibm-products-page-content">
<Button
ref={buttonRef}
onClick={() => setOpen(!open)}
className={`${prefix}toggle`}
>
{open ? 'Close side panel' : 'Open side panel'}
</Button>
</div>
</div>
<Button
ref={buttonRef}
onClick={() => setOpen(!open)}
className={`${prefix}toggle`}
>
{open ? 'Close side panel' : 'Open side panel'}
</Button>
<SidePanel
{...args}
open={open}
Expand Down

0 comments on commit 6050bb3

Please sign in to comment.