Share Buttons
Weibo

πŸŽ€ Weibo

πŸ‘¨β€πŸ’» Code

import {
  WeiboShareButton,
  WeiboIcon,
} from 'next-share'
 
<WeiboShareButton
  url={'https://github.com/next-share'}
  title={'next-share is a social share buttons for your next React apps.'}
  image={`${example-image}`}
>
  <WeiboIcon size={32} round />
</WeiboShareButton>

πŸ₯° Generate


πŸ“– WeiboShareButton Props

PropsTypeDefaultDescriptionRequired
childrennodeReact component, HTML element or string.βœ…
urlstringThe URL of the shared page.βœ…
titlestringThe title of the shared page.❌
imagestringThe image URL that will be shared.❌
windowWidthnumber660Opened window width.❌
windowHeightnumber550Opened window height.❌
blankTargetbooleanfalseOpen share window in a new tab if set to true.❌

πŸ“š WeiboIcon Props

PropsTypeDefaultDescriptionRequired
sizenumberIcon size in pixels.❌
roundbooleanShow round or rectangle.❌
borderRadiusnumberSet rounded corners if using round icon.❌
bgStyleobjectCustomize background style.❌
iconFillColorstringwhiteCustomize icon fill color.❌
blankTargetbooleanfalseOpen share window in a new tab if set to true.❌