diff --git a/.changeset/early-coins-fry.md b/.changeset/early-coins-fry.md new file mode 100644 index 0000000000..d7b3878a77 --- /dev/null +++ b/.changeset/early-coins-fry.md @@ -0,0 +1,5 @@ +--- +'@leafygreen-ui/expandable-card': patch +--- + +Updates live example so that `title` does not look like an optional prop diff --git a/packages/expandable-card/src/ExpandableCard.story.tsx b/packages/expandable-card/src/ExpandableCard.story.tsx index 82951f8a4b..a24b55f8ed 100644 --- a/packages/expandable-card/src/ExpandableCard.story.tsx +++ b/packages/expandable-card/src/ExpandableCard.story.tsx @@ -23,7 +23,7 @@ const meta: StoryMetaType = { combineArgs: { darkMode: [false, true], description: [undefined, loremIpsum], - flagText: [undefined, 'optional'], + flagText: [undefined, 'flagText'], isOpen: [false, true], }, }, @@ -31,7 +31,7 @@ const meta: StoryMetaType = { 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.', },