disqusjs
Version:
Alternative DISQUS - Render comments components from Disqus API
22 lines (18 loc) • 632 B
TypeScript
import * as react from 'react';
interface DisqusJSConfig {
shortname: string;
siteName?: string;
identifier?: string;
url: string;
title?: string;
api?: string;
apikey: string | string[];
nesting?: number;
nocomment?: string;
admin?: string;
adminLabel?: string;
disqusJsModeAssetsUrlTransformer?: (url: string) => string;
}
declare const DisqusJS: react.ForwardRefExoticComponent<Omit<DisqusJSConfig & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
export { DisqusJS };
export type { DisqusJSConfig };