# DocumentType

Source: https://swapcard.dev/exhibitor/leads-api/graphql-exhibitor-api-schema/types/enums/document-type


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>
  );
};

No description

```graphql
enum DocumentType {
  DOCUMENT
  FILE
  IMAGE
  LINK
  VIDEO
}
```

### Values

#### [<code style={{ fontWeight: 'normal' }}>DocumentType.<b>DOCUMENT</b></code>](#)  

#### [<code style={{ fontWeight: 'normal' }}>DocumentType.<b>FILE</b></code>](#)  

#### [<code style={{ fontWeight: 'normal' }}>DocumentType.<b>IMAGE</b></code>](#)  

#### [<code style={{ fontWeight: 'normal' }}>DocumentType.<b>LINK</b></code>](#)  

#### [<code style={{ fontWeight: 'normal' }}>DocumentType.<b>VIDEO</b></code>](#)  

### Member Of

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