kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
attributes
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
text
|
Defines the label text in front of the social icons. |
string
|
Share this page
|
|
size
|
Controls the size of icons and spacing. |
string
|
medium
|
|
align
|
Controls the horizontal alignment of label text and icons. |
string
|
start
|
|
opacity
|
Controls the overall transparency of the share tool. |
integer
|
100
|
|
sources
|
Social media sources to share to. |
array
| — |
|
display
|
Controls the display of the share options. |
string
|
inline
|
|
copy_to_clipboard
|
object
| — | ||
inline
(deprecated) |
Button version has been removed so this prop is no longer needed. |
— | — |
|
copyToClipboard
(deprecated) |
Please use copy_to_clipboard. |
— | — |
|
items
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
name
|
Name of the social media source. |
string
| — |
|
attributes
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
url
(deprecated) |
Please pass the href value through the source attributes object. |
— | — |
|