Skip to content

Commit

Permalink
feat: add new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Nov 4, 2024
1 parent 7ba0a43 commit aa24f29
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,22 @@ export const IconFavorite = ({ className, filled, ...props }: IconProps) => (
</span>
)

export const IconWhatshot = ({ className, filled, ...props }: IconProps) => (
<span className={getClassName({ filled, className })} {...props}>
whatshot
</span>
)

export const IconSwapVerticalCircle = ({
className,
filled,
...props
}: IconProps) => (
<span className={getClassName({ filled, className })} {...props}>
swap_vertical_circle
</span>
)

type GetClassNameOptions = {
filled?: boolean
className?: string
Expand Down
4 changes: 4 additions & 0 deletions src/stories/components/icon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ import {
IconSelectCheckBox,
IconSend,
IconStacks,
IconSwapVerticalCircle,
IconSync,
IconTune,
IconUpload,
IconVisibility,
IconWarning,
IconWhatshot,
IconWorkspaces,
} from '@koupr/ui'
import { Meta, StoryObj } from '@storybook/react'
Expand Down Expand Up @@ -139,6 +141,8 @@ export const Default: Story = {
<IconBolt />
<IconChat />
<IconFavorite />
<IconWhatshot />
<IconSwapVerticalCircle />
</div>
),
}

0 comments on commit aa24f29

Please sign in to comment.