synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
20 lines • 694 B
TypeScript
export type MarkdownGithubProps = {
repoOwner: string;
repoName: string;
filePath: string;
showDownloadButton?: boolean;
};
/**
* Loads the latest tagged version of the (presumably MD) file from GitHub
* @returns
*/
export declare function MarkdownGithubLatestTag(props: MarkdownGithubProps): import("react/jsx-runtime").JSX.Element;
/**
* Load MD file content from GitHub (using the given tag)
* @returns
*/
declare function MarkdownGithub({ repoOwner, repoName, filePath, tagName, showDownloadButton, }: MarkdownGithubProps & {
tagName?: string;
}): import("react/jsx-runtime").JSX.Element;
export default MarkdownGithub;
//# sourceMappingURL=MarkdownGithub.d.ts.map