diff --git a/package.json b/package.json index fd0a293..267c808 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,10 @@ "@types/react-dom": "^19.0.4", "astro": "^5.3.0", "lodash": "^4.17.21", + "prop-types": "^15.8.1", "react": "^19.0.0", "react-dom": "^19.0.0", "react-select": "^5.10.0", "tailwindcss": "^4.0.8" } -} \ No newline at end of file +} diff --git a/src/cra-project/components/SocialShare/icons.jsx b/src/cra-project/components/SocialShare/Icon.jsx similarity index 98% rename from src/cra-project/components/SocialShare/icons.jsx rename to src/cra-project/components/SocialShare/Icon.jsx index df8b783..2eb5655 100644 --- a/src/cra-project/components/SocialShare/icons.jsx +++ b/src/cra-project/components/SocialShare/Icon.jsx @@ -1,4 +1,6 @@ import React from 'react'; +import PropTypes from 'prop-types'; + export const IconPaths = { twitter: 'M22 4.864c-0.808 0.361-1.68 0.602-2.591 0.709 0.932-0.559 1.646-1.444 1.985-2.496-0.872 0.516-1.839 0.894-2.866 1.096-0.825-0.877-1.998-1.422-3.296-1.422-2.492 0-4.512 2.020-4.512 4.512 0 0.352 0.039 0.696 0.116 1.027-3.751-0.189-7.077-1.985-9.303-4.718-0.387 0.666-0.61 1.444-0.61 2.269 0 1.564 0.795 2.948 2.007 3.755-0.739-0.021-1.435-0.228-2.045-0.563 0 0.017 0 0.039 0 0.056 0 2.187 1.555 4.013 3.622 4.426-0.378 0.103-0.778 0.159-1.19 0.159-0.292 0-0.571-0.030-0.851-0.082 0.576 1.792 2.243 3.098 4.215 3.137-1.547 1.212-3.489 1.934-5.607 1.934-0.365 0-0.722-0.021-1.079-0.064 2.002 1.285 4.374 2.028 6.922 2.028 8.302 0 12.843-6.879 12.843-12.843 0-0.198-0.004-0.391-0.013-0.584 0.881-0.632 1.646-1.427 2.252-2.333z',