@pretronic/react-github-languages
Version:
GitHub language provider
18 lines (17 loc) • 510 B
TypeScript
import { PureComponent } from "react";
import { Language } from "./Language";
interface GetLanguageProps {
language: string;
render: RenderFunction;
}
interface GetLanguageState {
}
interface RenderFunction {
(languages?: Language): any;
}
export default class LookupLanguage extends PureComponent<GetLanguageProps, GetLanguageState> {
static contextType: import("react").Context<import("./Language").LanguageInfo>;
getLanguage(): Language;
render(): any;
}
export {};