gatsby-theme-zh
Version:
29 lines (28 loc) • 829 B
TypeScript
import React from 'react';
import { WithTranslation } from 'react-i18next';
interface PlayGroundProps {
source: string;
babeledSource: string;
relativePath?: string;
title?: string;
location?: Location;
playground?: {
container?: string;
playgroundDidMount?: string;
playgroundWillUnmount?: string;
dependencies?: {
[key: string]: string;
};
htmlCodeTemplate?: string;
};
height?: number;
replaceId?: string;
}
interface MdPlaygroundProps {
examples: PlayGroundProps[];
path: string;
height?: number;
rid?: string;
}
declare const _default: React.ComponentType<Pick<MdPlaygroundProps & WithTranslation, "path" | "height" | "examples" | "rid"> & import("react-i18next").WithTranslationProps>;
export default _default;