File size: 557 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
30
31
32
33
34
# Post Share

Component/Block to share posts to social-media accounts

## Example

```jsx
import PostShare from 'calypso/blocks/post-share';

<PostShare post={ post } siteId={ siteId } />;
```

## Props

### `post`

A post object.

### `siteId`

The id of the site

### `disabled`

If it's true, the form elements of the component will be disabled such as buttons, input fields, etc.

### `showClose`

If it's true, the component will show a close button at the top right.

### `onClose`

A callback that will be triggered when the close button is clicked.