mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 20:00:25 +00:00
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:
@@ -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,
|
||||||
}),
|
}),
|
||||||
|
|||||||
12
types/index.d.ts
vendored
12
types/index.d.ts
vendored
@@ -94,6 +94,16 @@ export interface Social {
|
|||||||
*/
|
*/
|
||||||
website?: string;
|
website?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Skype username
|
||||||
|
*/
|
||||||
|
skype?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Telegram username
|
||||||
|
*/
|
||||||
|
telegram?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Phone
|
* Phone
|
||||||
*/
|
*/
|
||||||
@@ -318,6 +328,6 @@ export interface GitProfileProps {
|
|||||||
config: Config;
|
config: Config;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class GitProfile extends Component<GitProfileProps> {}
|
declare class GitProfile extends Component<GitProfileProps> { }
|
||||||
|
|
||||||
export default GitProfile;
|
export default GitProfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user