Skip to content

Commit

Permalink
LG-3355: Updates ExpandableCard Live Example (#2197)
Browse files Browse the repository at this point in the history
* with changeset

* write out flagText
  • Loading branch information
bruugey authored Jan 31, 2024
1 parent 6325ea1 commit e059943
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-coins-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@leafygreen-ui/expandable-card': patch
---

Updates live example so that `title` does not look like an optional prop
4 changes: 2 additions & 2 deletions packages/expandable-card/src/ExpandableCard.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ const meta: StoryMetaType<typeof ExpandableCard> = {
combineArgs: {
darkMode: [false, true],
description: [undefined, loremIpsum],
flagText: [undefined, 'optional'],
flagText: [undefined, 'flagText'],
isOpen: [false, true],
},
},
},
args: {
title: 'Title',
description: loremIpsum,
flagText: 'optional',
flagText: 'flagText',
children:
'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.',
},
Expand Down

0 comments on commit e059943

Please sign in to comment.