# ContactLeadsConnection

Source: https://swapcard.dev/exhibitor/leads-api/graphql-exhibitor-api-schema/types/objects/contact-leads-connection


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

A connection type to paginate in a list of contact leads.

```graphql
type ContactLeadsConnection {
  pageInfo: PageInfo!
  totalCount: Int!
  nodes: [Connection!]!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>ContactLeadsConnection.<b>pageInfo</b></code>](#)<Bullet />[`PageInfo!`](/exhibitor/leads-api/graphql-exhibitor-api-schema/types/objects/page-info.mdx) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="object"/> 

#### [<code style={{ fontWeight: 'normal' }}>ContactLeadsConnection.<b>totalCount</b></code>](#)<Bullet />[`Int!`](/exhibitor/leads-api/graphql-exhibitor-api-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 

#### [<code style={{ fontWeight: 'normal' }}>ContactLeadsConnection.<b>nodes</b></code>](#)<Bullet />[`[Connection!]!`](/exhibitor/leads-api/graphql-exhibitor-api-schema/types/objects/connection.mdx) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="object"/> 

### Member Of

[`ExhibitorLeads`](/exhibitor/leads-api/graphql-exhibitor-api-schema/types/objects/exhibitor-leads.mdx)  <Badge class="badge badge--secondary" text="object"/>
