From 2c9700d47ef696fe0b9f4325997173ed4a7606de Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Tue, 14 Feb 2023 21:07:59 +0600 Subject: [PATCH] Add missing prop type for Mastodon --- src/components/GitProfile.jsx | 1 + types/index.d.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/components/GitProfile.jsx b/src/components/GitProfile.jsx index 93b7630..2189022 100644 --- a/src/components/GitProfile.jsx +++ b/src/components/GitProfile.jsx @@ -263,6 +263,7 @@ GitProfile.propTypes = { social: PropTypes.shape({ linkedin: PropTypes.string, twitter: PropTypes.string, + mastodon: PropTypes.string, facebook: PropTypes.string, instagram: PropTypes.string, dribbble: PropTypes.string, diff --git a/types/index.d.ts b/types/index.d.ts index e8b4482..6a1c09d 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -49,6 +49,11 @@ export interface Social { */ twitter?: string; + /** + * Mastodon + */ + mastodon?: string; + /** * Facebook */