# PlanningEventDetails

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


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

## How it looks

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

## Code sample

```tsx

  return <PlanningEventDetails planningId="<PLANNING_ID>" />;
}
```

## Available props

- **planningId** `string (required)`

  ID of the planning you want to render

- **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>}
  ```

- **renderLinkedPlanningCard** `(node: ReactNode, planning: Planning) => ReactNode`
  Render function to wrap each linked planning cells into your own links.

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

- **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>}
  ```

- **desktopOffset** `number`

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