Share Buttons
Digg

DiggShare

👨‍💻 Code

import { DiggShareBtn } from "dv-social-share";
 
<DiggShareBtn url="https://dv-social-share.vercel.app" />;

Output:



đź“– DiggShareBtn Props

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