opds-web-client
Version:
28 lines (27 loc) • 864 B
TypeScript
import * as React from "react";
import "../stylesheets/lanes.scss";
import "../stylesheets/subtle_list.scss";
import { Store } from "redux";
import { CollectionData, LaneData } from "../interfaces";
export interface LanesProps {
url: string;
lanes?: LaneData[];
fetchCollection?: (url: string) => Promise<CollectionData>;
clearCollection?: () => void;
store?: Store<{
collection: CollectionData;
}>;
namespace?: string;
proxyUrl?: string;
hiddenBookIds?: string[];
hideMoreLinks?: boolean;
isFetching?: boolean;
}
export declare class Lanes extends React.Component<any, any> {
render(): JSX.Element;
componentWillMount(): void;
componentWillReceiveProps(newProps: any): void;
componentWillUnmount(): void;
}
declare const ConnectedLanes: React.ComponentClass<any>;
export default ConnectedLanes;