Share Buttons
Pinterest

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

PropsTypeDefaultDescriptionRequired
urlstringThe URL of the to be page.âś…
mediastringThe image URL that will be pinned.âś…
descriptionstringThe description of the shared media.❌
imgConfigobjectA imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image❌
openInNewTabbooleanfalseOpen share window in a new tab if set to true.❌