import * as React from "react";
import { VStack, Text } from "native-base";
import { SocialShareBar } from "../advanced/socialshare";
export default {
title: "Advanced/SocialShare",
component: SocialShareBar,
parameters: {
docs: {
description: {
component: "Social share component for sharing content on social media platforms"
}
}
},
argTypes: {
message: {
control: { type: "text" },
description: "The message to share on social media",
defaultValue: "I just did my first claim(s) of G$ this week!"
},
url: {
control: { type: "text" },
description: "The URL to share",
defaultValue: "https://gooddollar.org"
}
}
};
export const Default = args => (
Social Share Component
);
export const CustomMessage = args => (
Custom Message
);
CustomMessage.args = {
message: "Check out GoodDollar - the future of universal basic income!",
url: "https://gooddollar.org"
};
export const CustomURL = args => (
Custom URL
);
CustomURL.args = {
message: "I just did my first claim(s) of G$ this week!",
url: "https://app.gooddollar.org"
};
export const LongMessage = args => (
Long Message
);
LongMessage.args = {
message:
"I just claimed my first GoodDollar tokens today! This is an amazing project that's working towards universal basic income through blockchain technology. Everyone should check it out!",
url: "https://gooddollar.org"
};
export const DarkBackground = args => (
Dark Background
);
DarkBackground.args = {
message: "I just did my first claim(s) of G$ this week!",
url: "https://gooddollar.org"
};