mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
import { ShareOption } from './types';
|
|
export interface ShareStrings {
|
|
share: string;
|
|
}
|
|
export interface ShareSettings {
|
|
/**
|
|
* Enable/Disable share options
|
|
*/
|
|
share: boolean;
|
|
/**
|
|
* Enable Facebook share.
|
|
*/
|
|
facebook: boolean;
|
|
/**
|
|
* Facebook dropdown text.
|
|
*/
|
|
facebookDropdownText: string;
|
|
/**
|
|
* Enable twitter share.
|
|
*/
|
|
twitter: boolean;
|
|
/**
|
|
* Twitter dropdown text
|
|
*/
|
|
twitterDropdownText: string;
|
|
/**
|
|
* Enable pinterest share.
|
|
*/
|
|
pinterest: boolean;
|
|
/**
|
|
* Pinterest dropdown text
|
|
|
|
*/
|
|
pinterestDropdownText: string;
|
|
/**
|
|
* Array of additional share options
|
|
*
|
|
* This can be used to build additional share options.
|
|
* <a href="/demos/share/">Demo</a>
|
|
*/
|
|
additionalShareOptions: ShareOption[];
|
|
/**
|
|
* Custom translation strings for aria-labels
|
|
*/
|
|
sharePluginStrings: ShareStrings;
|
|
}
|
|
export declare const shareSettings: {
|
|
share: boolean;
|
|
facebook: boolean;
|
|
facebookDropdownText: string;
|
|
twitter: boolean;
|
|
twitterDropdownText: string;
|
|
pinterest: boolean;
|
|
pinterestDropdownText: string;
|
|
additionalShareOptions: never[];
|
|
sharePluginStrings: ShareStrings;
|
|
};
|