Skip to content

Commit

Permalink
add story with visual and count
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Jul 22, 2024
1 parent 4532793 commit b954c34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react/src/Button/Button.features.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {EyeIcon, TriangleDownIcon, HeartIcon} from '@primer/octicons-react'
import {EyeIcon, TriangleDownIcon, HeartIcon, CommentIcon} from '@primer/octicons-react'
import React, {useState} from 'react'
import {Button} from '.'
import {Stack} from '../Stack/Stack'
Expand Down Expand Up @@ -57,6 +57,10 @@ export const TrailingCounter = () => {
)
}

export const TrailingCounterWithNoText = () => {
return <Button leadingVisual={CommentIcon} count={3} />
}

export const TrailingCounterAllVariants = () => {
const [count, setCount] = useState(0)
const onClick = () => {
Expand Down

0 comments on commit b954c34

Please sign in to comment.