Skip to content

Commit

Permalink
Enable chromatic snapshot for a new Badge story
Browse files Browse the repository at this point in the history
  • Loading branch information
gnapse committed Jan 5, 2023
1 parent 4d9125c commit 507265d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/new-components/badge/badge.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Box } from '../box'
import { Button } from '../button'
import { Columns, Column } from '../columns'
import { Stack } from '../stack'

import { TextLink } from '../text-link'

import { Badge } from './badge'
Expand Down Expand Up @@ -51,6 +52,7 @@ The use of variants does not provide extra semantic meaning and is strictly visu
name="Inside other elements"
parameters={{
docs: { source: { type: 'code' } },
chromatic: { disableSnapshot: false },
}}
>
<Stack space="medium" paddingX="medium">
Expand All @@ -62,7 +64,7 @@ The use of variants does not provide extra semantic meaning and is strictly visu
<div>
You can have badges inside{' '}
<TextLink>
links <Badge variant="positive">nice</Badge>
links <Badge variant="color">beta</Badge>
</TextLink>
.
</div>
Expand Down

0 comments on commit 507265d

Please sign in to comment.