share-bar-block
/
5.16.1-arc-themes-release-version-2.1.3.4776
share-bar-block 5.16.1-arc-themes-release-version-2.1.3.4776
Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/share-bar-block@5.16.1-arc-themes-release-version-2.1.3.4776
Install via package.json:
"@wpmedia/share-bar-block": "5.16.1-arc-themes-release-version-2.1.3.4776"
About this version
This is the share bar block for displaying icons to allow the page to be shared, written as a functional component. Users can choose from five options to display on the share bar:
Clicking on each button will open up a new window for the respective share type.
This block requires that the ANS fields listed below are in a page's globalContent
. Otherwise the headline
and URL is not available for sharing.
Prop | Required | Type | Description |
---|---|---|---|
required prop | yes | ||
optional prop | no | ||
contentConfig example | Please specify which content sources are compatible |
The share block will need the basic headline and website URL from the page's globalContent
.
globalContent.headlines.basic
globalContent.website_url
Phrase key | Default (English) |
---|---|
share-button-aria-label | "Share current article via %{socialType} " |
Note: The %{socialType}
value is taken from Internationalization fields in the
global-phrases-block.
Details
- share-bar-block
- WPMedia
- 11 months ago
- CC-BY-NC-ND-4.0
- 2 dependencies
Assets
- share-bar-block-5.16.1-arc-themes-release-version-2.1.3.4776.tgz
Download activity
- Total downloads 7,125
- Last 30 days 291
- Last week 56
- Today 0
Recent versions
View all- 5.16.1-arc-themes-release-version-2.4.0.4885
- 5.16.1-arc-themes-release-version-1.33.3561
- 5.16.1-arc-themes-release-version-2.3.1.4873
- 5.16.1-arc-themes-release-version-2.3.0.4885
- 5.16.1-arc-themes-release-version-1.32.3558
- 5.16.1-arc-themes-release-version-2.1.3.4776
- 5.16.1-arc-themes-release-version-2.1.3.4773
- 5.16.1-arc-themes-release-version-2.1.3.4768
- 5.16.1-arc-themes-release-version-2.1.2.4757
- 5.16.1-arc-themes-release-version-2.1.3.4756