Skip to content

Commit

Permalink
Add more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
benprosen committed Oct 24, 2024
1 parent a8b87db commit a212d2a
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions packages/core/src/Badge/Badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,25 @@ ColorSchemesTemplate.args = {}

export const WithIcon = () => {
return (
<Badge colorScheme='neutralDarkOnLight' size='captionMedium' textTransform='capitalize' mr={1}>
<Flex>
<Trophy mr={1} size={16} />
<Text>Badge</Text>
</Flex>
</Badge>
<>
<Badge colorScheme='neutralDarkOnLight' size='captionMedium' textTransform='capitalize' m={3}>
<Flex>
<Trophy mr={1} size={16} />
<Text>Badge</Text>
</Flex>
</Badge>
<Badge colorScheme='neutralDarkOnLight' size='captionSmall' textTransform='capitalize' m={3}>
<Flex>
<Trophy mr={1} size={16} />
<Text>Badge</Text>
</Flex>
</Badge>
<Badge colorScheme='successDarkOnLight' size='captionMedium' textTransform='capitalize' m={3}>
<Flex>
<Trophy mr={1} size={16} />
<Text>Badge</Text>
</Flex>
</Badge>
</>
)
}

0 comments on commit a212d2a

Please sign in to comment.