import { CodedocConfig } from '@codedoc/core';
import { Footer as _Footer, GitterToggle$, Watermark} from '@codedoc/core/components';
export function Footer(config: CodedocConfig, renderer: any) {
let github$;
if (config.misc?.github)
github$ = GitHub;
let community$;
if (config.misc?.gitter)
community$ =
if (github$ && community$) return <_Footer>{github$}
{community$};
else if (github$) return <_Footer>{github$};
else if (community$) return <_Footer>{community$};
else return <_Footer>;
}