Skip to content

Commit

Permalink
Add block description example
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jun 10, 2024
1 parent 66e5405 commit 96a9ef3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,11 @@ export const WithTrailingAction = () => {
<ActionList.TrailingAction as="a" href="#" aria-label="Some action 1" icon={ArrowRightIcon} />
</ActionList.Item>
<ActionList.Item>
Item 3<ActionList.Description>Hello this is a description.</ActionList.Description>
Item 3<ActionList.Description>This is an inline description.</ActionList.Description>
<ActionList.TrailingAction aria-label="Some action 2" icon={BookIcon} />
</ActionList.Item>
<ActionList.Item>
Item 4<ActionList.Description variant="block">This is a block description.</ActionList.Description>
<ActionList.TrailingAction aria-label="Some action 2" icon={BookIcon} />
</ActionList.Item>
<ActionList.LinkItem href="#">
Expand Down

0 comments on commit 96a9ef3

Please sign in to comment.