46 lines
581 B
Markdown
46 lines
581 B
Markdown
`Gravatar` (component)
|
|
======================
|
|
|
|
Display a users Gravatar.
|
|
|
|
|
|
|
|
Props
|
|
-----
|
|
|
|
### `user`
|
|
|
|
- Type: One of type: object, string
|
|
- Default: null
|
|
|
|
The address to hash for displaying a Gravatar. Can be an email address or WP-API user object.
|
|
|
|
### `alt`
|
|
|
|
- Type: String
|
|
- Default: null
|
|
|
|
Text to display as the image alt attribute.
|
|
|
|
### `title`
|
|
|
|
- Type: String
|
|
- Default: null
|
|
|
|
Text to use for the image's title
|
|
|
|
### `size`
|
|
|
|
- Type: Number
|
|
- Default: `60`
|
|
|
|
Default 60. The size of Gravatar to request.
|
|
|
|
### `className`
|
|
|
|
- Type: String
|
|
- Default: null
|
|
|
|
Additional CSS classes.
|
|
|