opds-web-client
Version:
16 lines (15 loc) • 523 B
TypeScript
import * as React from "react";
import { NavigateContext } from "../interfaces";
export interface CatalogLinkProps extends React.HTMLProps<any> {
collectionUrl?: string;
bookUrl?: string;
}
export default class CatalogLink extends React.Component<CatalogLinkProps, any> {
context: NavigateContext;
static contextTypes: React.ValidationMap<NavigateContext>;
static childContextTypes: React.ValidationMap<NavigateContext>;
getChildContext(): {
router: any;
};
render(): JSX.Element;
}