From ba2548c79e480b5317d5ec21e105fb22b30d501a Mon Sep 17 00:00:00 2001 From: Federico Mastrini Date: Thu, 3 Aug 2023 15:25:43 +0200 Subject: [PATCH] feat: `success` pictogram --- src/components/pictograms/Pictogram.tsx | 60 ++++++++++--------- .../pictograms/svg/PictrogramSuccess.tsx | 49 +++++++++++++++ .../svg/originals/PictogramSuccess.svg | 35 +++++++++++ 3 files changed, 115 insertions(+), 29 deletions(-) create mode 100644 src/components/pictograms/svg/PictrogramSuccess.tsx create mode 100644 src/components/pictograms/svg/originals/PictogramSuccess.svg diff --git a/src/components/pictograms/Pictogram.tsx b/src/components/pictograms/Pictogram.tsx index e09854b6..76bc45b2 100644 --- a/src/components/pictograms/Pictogram.tsx +++ b/src/components/pictograms/Pictogram.tsx @@ -2,44 +2,45 @@ import React from "react"; import { ColorValue } from "react-native"; import { IOColors } from "../../core/IOColors"; +import PictogramAbacus from "./svg/PictogramAbacus"; import PictogramAirBaloon from "./svg/PictogramAirBaloon"; -import PictogramHeart from "./svg/PictogramHeart"; +import PictogramAirship from "./svg/PictogramAirship"; +import PictogramAttention from "./svg/PictogramAttention"; +import PictogramBaloons from "./svg/PictogramBaloons"; +import PictogramBeerMug from "./svg/PictogramBeerMug"; +import PictogramCameraRequest from "./svg/PictogramCameraRequest"; import PictogramCompleted from "./svg/PictogramCompleted"; -import PictogramEmailValidation from "./svg/PictogramEmailValidation"; +import PictogramDonation from "./svg/PictogramDonation"; import PictogramEmailToValidate from "./svg/PictogramEmailToValidate"; -import PictogramAbacus from "./svg/PictogramAbacus"; -import PictogramPiggyBank from "./svg/PictogramPiggyBank"; -import PictogramProcessing from "./svg/PictogramProcessing"; -import PictogramBaloons from "./svg/PictogramBaloons"; -import PictogramPlaces from "./svg/PictogramPlaces"; -import PictogramNotAvailable from "./svg/PictogramNotAvailable"; -import PictogramAirship from "./svg/PictogramAirship"; -import PictogramSearch from "./svg/PictogramSearch"; -import PictogramUnrecognized from "./svg/PictogramUnrecognized"; +import PictogramEmailValidation from "./svg/PictogramEmailValidation"; +import PictogramEmptyArchive from "./svg/PictogramEmptyArchive"; import PictogramError from "./svg/PictogramError"; -import PictogramUmbrella from "./svg/PictogramUmbrella"; -import PictogramInProgress from "./svg/PictogramInProgress"; +import PictogramFeedback from "./svg/PictogramFeedback"; import PictogramFireworks from "./svg/PictogramFireworks"; -import PictogramPuzzle from "./svg/PictogramPuzzle"; -import PictogramQuestion from "./svg/PictogramQuestion"; -import PictogramPin from "./svg/PictogramPin"; -import PictogramTimeout from "./svg/PictogramTimeout"; -import PictogramUploadFile from "./svg/PictogramUploadFile"; +import PictogramFollowMessage from "./svg/PictogramFollowMessage"; +import PictogramHeart from "./svg/PictogramHeart"; import PictogramHourglass from "./svg/PictogramHourglass"; -import PictogramTeaBreak from "./svg/PictogramTeaBreak"; -import PictogramSms from "./svg/PictogramSms"; -import PictogramInbox from "./svg/PictogramInbox"; -import PictogramBeerMug from "./svg/PictogramBeerMug"; import PictogramIBANCard from "./svg/PictogramIBANCard"; -import PictogramFollowMessage from "./svg/PictogramFollowMessage"; +import PictogramInProgress from "./svg/PictogramInProgress"; +import PictogramInbox from "./svg/PictogramInbox"; import PictogramManual from "./svg/PictogramManual"; +import PictogramNotAvailable from "./svg/PictogramNotAvailable"; +import PictogramPiggyBank from "./svg/PictogramPiggyBank"; +import PictogramPin from "./svg/PictogramPin"; +import PictogramPlaces from "./svg/PictogramPlaces"; +import PictogramProcessing from "./svg/PictogramProcessing"; +import PictogramPuzzle from "./svg/PictogramPuzzle"; +import PictogramQuestion from "./svg/PictogramQuestion"; +import PictogramSearch from "./svg/PictogramSearch"; import PictogramSetup from "./svg/PictogramSetup"; -import PictogramDonation from "./svg/PictogramDonation"; -import PictogramAttention from "./svg/PictogramAttention"; -import PictogramEmptyArchive from "./svg/PictogramEmptyArchive"; +import PictogramSms from "./svg/PictogramSms"; +import PictogramTeaBreak from "./svg/PictogramTeaBreak"; +import PictogramTimeout from "./svg/PictogramTimeout"; +import PictogramUmbrella from "./svg/PictogramUmbrella"; import PictogramUmbrellaNew from "./svg/PictogramUmbrellaNew"; -import PictogramFeedback from "./svg/PictogramFeedback"; -import PictogramCameraRequest from "./svg/PictogramCameraRequest"; +import PictogramUnrecognized from "./svg/PictogramUnrecognized"; +import PictogramUploadFile from "./svg/PictogramUploadFile"; +import PictrogramSuccess from "./svg/PictrogramSuccess"; export const IOPictograms = { airBaloon: PictogramAirBaloon, @@ -79,7 +80,8 @@ export const IOPictograms = { emptyArchive: PictogramEmptyArchive, umbrellaNew: PictogramUmbrellaNew, feedback: PictogramFeedback, - cameraRequest: PictogramCameraRequest + cameraRequest: PictogramCameraRequest, + success: PictrogramSuccess }; export type IOPictograms = keyof typeof IOPictograms; diff --git a/src/components/pictograms/svg/PictrogramSuccess.tsx b/src/components/pictograms/svg/PictrogramSuccess.tsx new file mode 100644 index 00000000..3552a29c --- /dev/null +++ b/src/components/pictograms/svg/PictrogramSuccess.tsx @@ -0,0 +1,49 @@ +import React from "react"; +import Svg, { Circle, ClipPath, Defs, G, Path, Rect } from "react-native-svg"; +import { SVGPictogramProps } from "../Pictogram"; + +const PictogramSuccess = ({ size, color, ...props }: SVGPictogramProps) => ( + + + + + + + + + + + + + + + + +); + +export default PictogramSuccess; diff --git a/src/components/pictograms/svg/originals/PictogramSuccess.svg b/src/components/pictograms/svg/originals/PictogramSuccess.svg new file mode 100644 index 00000000..d8530035 --- /dev/null +++ b/src/components/pictograms/svg/originals/PictogramSuccess.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + +