Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix: fix pill label, #noissue
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahHouben committed Nov 26, 2021
1 parent fc5d665 commit 699e58f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Pill/README.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ To make a Pill's body clickable, simply attach an `onClick` handler. You can als
iconColor="neutral"
onClick={() => console.log('Hello world!')}
>
Pill with icon but no visible label which can be deleted
Pill with icon but no visible label
</Pill>
<Pill
iconOnly
icon="star"
iconColor="positive"
onClick={() => console.log('Hello world!')}
onClick={() => console.log('You get a star!')}
onDelete={() => console.log('Delete')}
deleteLabel="Delete"
>
Pill with icon but no visible label
Pill with icon but no visible label which can be deleted
</Pill>
<Pill
onClick={() => console.log('Hello!')}
Expand Down

0 comments on commit 699e58f

Please sign in to comment.