@mornya/react-social-libs
Version:
The project of React.js Social Share and Widget modules.
10 lines (9 loc) • 465 B
TypeScript
import React from 'react';
declare class BaseComponent<P, S> extends React.Component<P, S> {
mapToParam<T extends Record<string, string | string[] | number | boolean | undefined>>(prefix?: string | undefined, params?: T): string;
getUID(): string;
getDefaultMetaContent(): Social.IMetaContent;
getDefaultHashtags(keywords?: string | undefined): string[];
getHashtag(hashtags?: string[], indent?: string): string;
}
export default BaseComponent;