@prezly/theme-kit-ui
Version:
UI components for Prezly themes
13 lines (12 loc) • 508 B
TypeScript
import type { SocialMedia } from './SocialMedia';
import type { ShareableSocialNetwork } from './types';
export declare function getSocialLinks(companyInformation: SocialMedia.CompanySocials): {
facebook: string | null;
instagram: string | null;
linkedin: string | null;
pinterest: string | null;
tiktok: string | null;
twitter: string | null;
youtube: string | null;
};
export declare function getSocialShareUrl(network: ShareableSocialNetwork, url: string): string | undefined;