From c25efe61b436bfa8dbcd97ae6e8fd3c142e192e0 Mon Sep 17 00:00:00 2001 From: kolyasapphire Date: Tue, 31 Oct 2023 23:20:44 +0400 Subject: [PATCH] Plus Icon --- .changeset/rotten-beans-rescue.md | 5 +++++ .../components/src/icons/Plus.stories.tsx | 21 +++++++++++++++++++ packages/components/src/icons/plus.tsx | 16 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 .changeset/rotten-beans-rescue.md create mode 100644 packages/components/src/icons/Plus.stories.tsx create mode 100644 packages/components/src/icons/plus.tsx diff --git a/.changeset/rotten-beans-rescue.md b/.changeset/rotten-beans-rescue.md new file mode 100644 index 0000000..47d2d4b --- /dev/null +++ b/.changeset/rotten-beans-rescue.md @@ -0,0 +1,5 @@ +--- +'@groupos/ui-components': minor +--- + +Plus Icon diff --git a/packages/components/src/icons/Plus.stories.tsx b/packages/components/src/icons/Plus.stories.tsx new file mode 100644 index 0000000..cb70886 --- /dev/null +++ b/packages/components/src/icons/Plus.stories.tsx @@ -0,0 +1,21 @@ +import React from 'react' +import type { Meta, StoryObj } from '@storybook/react' +import { Plus as PlusIcon } from './plus' +import { IconWrapper } from './arrowBack' + +const PlusMeta = { + title: 'Icons/Plus', + component: PlusIcon, +} satisfies Meta + +export default PlusMeta + +type Story = StoryObj + +export const Plus: Story = { + render: () => ( + + + + ), +} diff --git a/packages/components/src/icons/plus.tsx b/packages/components/src/icons/plus.tsx new file mode 100644 index 0000000..4114b5c --- /dev/null +++ b/packages/components/src/icons/plus.tsx @@ -0,0 +1,16 @@ +import React from 'react' +import clsx from 'clsx' + +export const Plus = ({ className, fill, ...props }: Omit, 'xmlns' | 'viewBox'>) => { + return ( + + + + ) +}