# ExhibitorEventDetails

Source: https://swapcard.dev/react-sdk/pages/exhibitor-event-details


This component allows you to integrate the exhibitor details at the event level.

## How it looks

<img src="/img/exhibitor-details-view.png" />

## Code sample

```tsx

  return <ExhibitorEventDetails exhibitorId="<EXHIBITOR_ID>" />;
}
```

## Available props

- **exhibitorId** `string (required)`

  ID of the exhibitor you want to render

- **renderExhibitorCard** `(node: ReactNode, exhibitor: Exhibitor) => ReactNode`

  Render function to wrap each linked exhibitor cells into your own links.

  ```tsx
  renderExhibitorCard={(node, exhibitor) => <a href={`/path/to/exhibitor/${exhibitor.id}`}>{node}</a>}
  ```

- **renderProductCard** `(node: ReactNode, product: Product) => ReactNode`

  Render function to wrap each product cells into your own links.

  ```tsx
  renderProductCard={(node, product) => <a href={`/path/to/product/${product.id}`}>{node}</a>}
  ```

- **renderPlanningCard** `(node: ReactNode, planning: Planning) => ReactNode`

  Render function to wrap each planning cells into your own links.

  ```tsx
  renderPlanningCard={(node, planning) => <a href={`/path/to/planning/${planning.id}`}>{node}</a>}
  ```

- **onClickOnBookmarkButton** `() => void`

  Callback when the user click on the bookmark button. You can redirect to another web page, open a custom modal, etc...
  NB: if you don't pass this callback, the bookmark button will be hidden.

- **stickyOffset** `number`

  Containers on the left and right of the main content will be sticky while the user scrolls (this represents the number in pixel from the top of the body)
