@coko/client
Version:
Client side common code for coko apps
15 lines (14 loc) • 569 B
TypeScript
import './sentry';
import { ReactNode } from 'react';
import { DefaultTheme } from 'styled-components';
import { DocumentNode } from '@apollo/client';
import type { AppProps } from 'antd';
import type { MakeApolloConfigFn } from './makeApolloClient';
type StartClientOptions = {
makeApolloConfig?: MakeApolloConfigFn;
currentUserQuery?: DocumentNode;
onLogout?: () => void;
notification?: AppProps['notification'];
};
declare const startClient: (routes: ReactNode, theme: DefaultTheme, options?: StartClientOptions) => void;
export default startClient;