OptionalbuttonCustom button component to replace default buttons
OptionalclassCSS class names for styling all component parts
OptionalhideHide the title section completely
OptionalhideHide the internal toast notification (use when providing custom toast via onCopySuccess)
OptionalonCallback fired when text is copied to clipboard
OptionalonCallback fired when user initiates sharing on any platform
OptionalrenderRender prop for complete button customization
Main content to share - user's result, score, or generated content
OptionalsuffixSuffix appended to share content. Default: "\n\nTry @ app.vana.com\n#datarevolution". Set to empty string to disable.
OptionalthemeTheme configuration for visual customization
OptionaltitleTitle displayed above share buttons (e.g., "Share your result")
OptionaltoastDuration in milliseconds for how long the toast should be visible. Default: 4000 (4 seconds)
Configuration properties for the VanaAppSocialShareWidget component.
Remarks
Required Props:
shareContent: The main result/content users want to shareCustomization Props:
classNames: CSS class names for styling every component parttheme: Visual customization (currently supports icon sizing)renderButton,buttonComponent: Custom button implementationsEvent Props:
onShare: Callback when user initiates sharing (useful for analytics)onShowToast: Custom toast implementation (uses internal if not provided)