File size: 716 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { Card } from '@automattic/components';
import { Component } from 'react';
import AuthorCompactProfile from 'calypso/blocks/author-compact-profile';

export default class AuthorCompactProfileExample extends Component {
	static displayName = 'AuthorCompactProfileExample';

	render() {
		const author = {
			avatar_URL: 'https://0.gravatar.com/avatar/cf55adb1a5146c0a11a808bce7842f7b?s=96&d=identicon',
			name: 'Bob The Tester',
			URL: 'http://wpcalypso.wordpress.com',
		};

		return (
			<Card>
				<AuthorCompactProfile
					author={ author }
					siteName="Bananas"
					siteUrl="http://wpcalypso.wordpress.com"
					followCount={ 123 }
					feedId={ 1 }
					siteId={ null }
				/>
			</Card>
		);
	}
}