PocketShare
👨‍💻 Code
import { PocketShareBtn } from "dv-social-share";
<PocketShareBtn
url="https://dv-social-share.vercel.app"
title="dv-social-share is a social share buttons for your next React.js & Next.js apps."
/>;
Output:
đź“– PocketShareBtn Props
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | âś… | |
title | string | Title of the shared page. | ❌ | |
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 . | ❌ |