vuepress-plugin-social-share
Version:
Social sharing plugin for VuePress
39 lines (38 loc) • 1.09 kB
TypeScript
import type { ComponentOptions } from 'vue';
import type Vue from 'vue';
import type { QRCodeOptions, SocialShareNetworkData, SocialShareNetworkItem } from '../types';
interface SocialShareComponent extends Vue {
userNetworks: SocialShareNetworkItem[];
popup: {
status: boolean;
resizable: boolean;
toolbar: boolean;
menubar: boolean;
scrollbars: boolean;
location: boolean;
directories: boolean;
width: number;
height: number;
top: number;
left: number;
interval: number | undefined;
};
networks: string[];
tags: string[];
twitterUser: string;
fallbackImage: string;
autoQuote: boolean;
isPlain: boolean;
qrcodeOptions: QRCodeOptions;
networksData: SocialShareNetworkData;
visible: boolean;
url: string;
title: string;
description: string;
media: string;
quote: string;
hashtags: string;
qrcodeRenderOptions: QRCodeOptions;
}
declare const SocialShare: ComponentOptions<SocialShareComponent>;
export default SocialShare;