UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

20 lines 694 B
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