UNPKG

@stencila/thema

Version:

Themes for executable documents

16 lines (15 loc) 593 B
import { examples } from './examples'; export { examples }; /** * Is the string an example name? * * @param {string} name Name of the example */ export declare const isExample: (name: string) => name is "articleReadme" | "articleKitchenSink" | "articleDrosophila" | "articleReplication" | "articleAntibodies" | "articlePests" | "epitopepredict"; /** * Given a string, will return a matching example, * falling back to the first in if none matches. * * @param {string} name Name of the example to look for */ export declare const resolveExample: (name?: string | undefined) => string;