Files
triggerdotdev--trigger.dev/docs/sdk/react/introduction.mdx
2023-08-02 15:18:03 +01:00

12 lines
1.1 KiB
Plaintext

---
title: "Introduction"
description: "The React SDK allows you to display the status of your Jobs and Runs in your React app."
---
| Name | Description |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [TriggerProvider](/sdk/react/triggerprovider) | The `TriggerProvider` component allows any hooks lower in the React hierarchy to connect to the Trigger.dev API. |
| [useEventDetails()](/sdk/react/useeventdetails) | The `useEventDetails()` React hook will show the live status of an event that was sent using `sendEvent()`. |
| [useEventRunDetails()](/sdk/react/useeventrundetails) | The `useEventRunDetails()` React hook will show the live status of the first run triggered by `sendEvent()`. |
| [useRunDetails()](/sdk/react/userundetails) | The `useRunDetails()` React hook will show the live status of run. |