import * as React from 'react';
import * as ReactApollo from 'react-apollo';
import {
  UserContactsPreviewDocument,
  UserContactsPreviewQuery,
} from 'shared/graphql/__generated__';
interface IUserContactsPreviewQueryVariables {
  filter: {};
}
export type Maybe<T> = T | null;
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export type UserContactsPreviewComponentProps = Omit<
  ReactApollo.QueryProps<UserContactsPreviewQuery, IUserContactsPreviewQueryVariables>,
  'query'
> &
  ({ variables: IUserContactsPreviewQueryVariables; skip?: false } | { skip: true });

export const UserContactsPreviewComponent = (
  props: UserContactsPreviewComponentProps,
) => (
  <ReactApollo.Query<UserContactsPreviewQuery, IUserContactsPreviewQueryVariables>
    query={UserContactsPreviewDocument}
    {...props}
  />
);
