Skip to content

Commit

Permalink
docs(Tag): add test story
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Mar 1, 2021
1 parent a705e38 commit 229fc47
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/react/src/components/Tag/Tag-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,19 @@ _Default.parameters = {
},
};

export const VerticalAlignment = () => (
<>
<Tag type="gray">Tag 1</Tag>
<Tag type="gray" renderIcon={Compass16}>
Tag 2
</Tag>
<Tag type="gray" filter>
Tag 3
</Tag>
<Tag type="gray">Tag 3</Tag>
</>
);

export const Filter = () => (
<Tag className="some-class" {...props.filter()} filter>
{text('Content (children)', 'This is a tag')}
Expand Down

0 comments on commit 229fc47

Please sign in to comment.