Share List
The share-list
block displays a button to automatically copy the URL to send the list to guests.
Configuration
- Import the
vtex.list
app to your theme's peer dependencies in themanifest.json
file as in the following example:
_10 "peerDependencies": {_10 "vtex.list": "3.x"_10 }
- Add the
share-list
block to other theme block inside a list context, such as thestore.list
. For example:
_12 "store.list": {_12 "children": [_12 "flex-layout.row_12 ]_12 },_12_12 "flex-layout.row": {_12 "children": [_12 "list-info.name",_12+ "share-list",_12 ]_12 }
Customization
To apply CSS customizations in this and other blocks, follow the Using CSS handles for store customization guide.
CSS Handles |
---|
shareListContainer |
shareListIcon |
shareListNotification |