Added skype and telegram to GitProfile props

* Added skype and telegram to GitProfile props via PropTypes.
* Added skype and telegram to types.d.ts
This commit is contained in:
Christian Sarnataro
2023-02-15 10:03:32 +01:00
parent 1b4a87b16f
commit efaebb7892
2 changed files with 13 additions and 1 deletions

View File

@@ -255,6 +255,8 @@ GitProfile.propTypes = {
dev: PropTypes.string, dev: PropTypes.string,
stackoverflow: PropTypes.string, stackoverflow: PropTypes.string,
website: PropTypes.string, website: PropTypes.string,
skype: PropTypes.string,
telegram: PropTypes.string,
phone: PropTypes.string, phone: PropTypes.string,
email: PropTypes.string, email: PropTypes.string,
}), }),

10
types/index.d.ts vendored
View File

@@ -94,6 +94,16 @@ export interface Social {
*/ */
website?: string; website?: string;
/**
* Skype username
*/
skype?: string;
/**
* Telegram username
*/
telegram?: string;
/** /**
* Phone * Phone
*/ */