Share Buttons
Facebook

FBShare

👨‍💻 Code

import { FBShareBtn } from "dv-social-share";
 
<FBShareBtn
  url="https://dv-social-share.vercel.app"
  quote="dv-social-share is a social share buttons for your next React.js & Next.js apps."
  hashTag="#dvsocialshare"
/>;

Output:



đź“– FBShareBtn Props

PropsTypeDefaultDescriptionRequired
urlstringThe URL of the page to be shared.âś…
quotestringA quote to be shared.❌
hashTagstringHashtag to be shared.❌
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.❌