File size: 375 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { __ } from '@wordpress/i18n';
interface DeploymentAuthorProps {
	name: string;
	avatarUrl: string;
}

export const DeploymentAuthor = ( { name, avatarUrl }: DeploymentAuthorProps ) => {
	return (
		<div className="github-deployments-commit-author">
			<img src={ avatarUrl } alt={ __( "The commit author's profile pic" ) } />
			<span>{ name }</span>
		</div>
	);
};