Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/lib/src/accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,20 @@ const Accordion = () => (
</DxcAccordion.AccordionItem>
</DxcAccordion>
</ExampleContainer>
<ExampleContainer>
<Title title="Sublabel longer than label" theme="light" level={4} />
<DxcAccordion>
<DxcAccordion.AccordionItem
label="Bounce Rate"
subLabel="Mon, May 19, 3:17 PM"
badge={{ position: "after", element: <DxcBadge label="Resolved" icon="check_circle" color="green" /> }}
>
<DxcInset space="var(--spacing-padding-l)">
To edit your profile you need to go to Settings and click on Profile.
</DxcInset>
</DxcAccordion.AccordionItem>
</DxcAccordion>
</ExampleContainer>
<ExampleContainer>
<Title title="Short label, long sublabel and long assistive text" theme="light" level={4} />
<DxcAccordion>
Expand Down