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:
parent
1b4a87b16f
commit
efaebb7892
@ -255,6 +255,8 @@ GitProfile.propTypes = {
|
||||
dev: PropTypes.string,
|
||||
stackoverflow: PropTypes.string,
|
||||
website: PropTypes.string,
|
||||
skype: PropTypes.string,
|
||||
telegram: PropTypes.string,
|
||||
phone: 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;
|
||||
|
||||
/**
|
||||
* Skype username
|
||||
*/
|
||||
skype?: string;
|
||||
|
||||
/**
|
||||
* Telegram username
|
||||
*/
|
||||
telegram?: string;
|
||||
|
||||
/**
|
||||
* Phone
|
||||
*/
|
||||
@ -318,6 +328,6 @@ export interface GitProfileProps {
|
||||
config: Config;
|
||||
}
|
||||
|
||||
declare class GitProfile extends Component<GitProfileProps> {}
|
||||
declare class GitProfile extends Component<GitProfileProps> { }
|
||||
|
||||
export default GitProfile;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user