PinterestShare
👨‍💻 Code
import { PinterestShareBtn } from "dv-social-share";
<PinterestShareBtn
url="https://dv-social-share.vercel.app"
media="https://dv-social-share.vercel.app/image.svg"
/>;
Output:
đź“– PinterestShareBtn Props
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | âś… | |
media | string | The image URL that will be pinned. | âś… | |
description | string | The description of the shared media. | ❌ | |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |