From 44a57de53fcfcfeb2ac95c5f367f5644e35ebe61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20K=C3=BC=C3=A7=C3=BCk?= <24843599+umitkucuk@users.noreply.github.com> Date: Wed, 8 May 2024 14:24:54 +0300 Subject: [PATCH] feat(icon): add door-open and credit-card icons --- docs/stories/components/icon.stories.mdx | 2 ++ src/components/Icon/list.ts | 2 ++ src/icons/CreditCard.tsx | 23 +++++++++++++++++++++++ src/icons/DoorOpen.tsx | 19 +++++++++++++++++++ src/icons/index.ts | 2 ++ src/svg-icons/credit-card.svg | 4 ++++ src/svg-icons/door-open.svg | 3 +++ 7 files changed, 55 insertions(+) create mode 100644 src/icons/CreditCard.tsx create mode 100644 src/icons/DoorOpen.tsx create mode 100644 src/svg-icons/credit-card.svg create mode 100644 src/svg-icons/door-open.svg diff --git a/docs/stories/components/icon.stories.mdx b/docs/stories/components/icon.stories.mdx index c04c1a9..a9b3288 100644 --- a/docs/stories/components/icon.stories.mdx +++ b/docs/stories/components/icon.stories.mdx @@ -107,12 +107,14 @@ Icon names are in the list, fixed and cannot be used outside the list. `confetti`, `copy`, `coupon`, +`credit-card`, `delete`, `dialog`, `dislike`, `document-search`, `document`, `donation`, +`door-open`, `download`, `edit`, `engagement`, diff --git a/src/components/Icon/list.ts b/src/components/Icon/list.ts index 2edde89..427cbf5 100644 --- a/src/components/Icon/list.ts +++ b/src/components/Icon/list.ts @@ -39,12 +39,14 @@ export const iconList = [ 'confetti', 'copy', 'coupon', + 'credit-card', 'delete', 'dialog', 'dislike', 'document-search', 'document', 'donation', + 'door-open', 'download', 'edit', 'engagement', diff --git a/src/icons/CreditCard.tsx b/src/icons/CreditCard.tsx new file mode 100644 index 0000000..17f47e3 --- /dev/null +++ b/src/icons/CreditCard.tsx @@ -0,0 +1,23 @@ +import * as React from 'react'; +import Svg, { SvgProps, Path } from 'react-native-svg'; +const SvgCreditCard = (props: SvgProps) => ( + + + + +); +export default SvgCreditCard; diff --git a/src/icons/DoorOpen.tsx b/src/icons/DoorOpen.tsx new file mode 100644 index 0000000..4345e40 --- /dev/null +++ b/src/icons/DoorOpen.tsx @@ -0,0 +1,19 @@ +import * as React from 'react'; +import Svg, { SvgProps, Path } from 'react-native-svg'; +const SvgDoorOpen = (props: SvgProps) => ( + + + +); +export default SvgDoorOpen; diff --git a/src/icons/index.ts b/src/icons/index.ts index c9c16f6..9880a4c 100644 --- a/src/icons/index.ts +++ b/src/icons/index.ts @@ -38,12 +38,14 @@ export { default as Compass } from './Compass'; export { default as Confetti } from './Confetti'; export { default as Copy } from './Copy'; export { default as Coupon } from './Coupon'; +export { default as CreditCard } from './CreditCard'; export { default as Delete } from './Delete'; export { default as Dialog } from './Dialog'; export { default as Dislike } from './Dislike'; export { default as DocumentSearch } from './DocumentSearch'; export { default as Document } from './Document'; export { default as Donation } from './Donation'; +export { default as DoorOpen } from './DoorOpen'; export { default as Download } from './Download'; export { default as Edit } from './Edit'; export { default as Engagement } from './Engagement'; diff --git a/src/svg-icons/credit-card.svg b/src/svg-icons/credit-card.svg new file mode 100644 index 0000000..19bf509 --- /dev/null +++ b/src/svg-icons/credit-card.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/svg-icons/door-open.svg b/src/svg-icons/door-open.svg new file mode 100644 index 0000000..1ac258a --- /dev/null +++ b/src/svg-icons/door-open.svg @@ -0,0 +1,3 @@ + + +