synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
12 lines • 628 B
TypeScript
import { CreateGridRequest, GridSession } from '@sage-bionetworks/synapse-client';
export interface StartGridSessionProps {
onSessionChange?: (session: GridSession | null) => void;
onReplicaChange?: (replicaId: number | null) => void;
show?: boolean;
}
export type StartGridSessionHandle = {
handleStartSession: (request: CreateGridRequest) => void;
handleLoadSession: (sessionId: string) => void;
};
export declare const StartGridSession: import("react").ForwardRefExoticComponent<StartGridSessionProps & import("react").RefAttributes<StartGridSessionHandle>>;
//# sourceMappingURL=StartGridSession.d.ts.map