diff --git a/contributors.yml b/contributors.yml index 099a6ca58a..dae0398f6d 100644 --- a/contributors.yml +++ b/contributors.yml @@ -2,6 +2,7 @@ - Ajayff4 - awreese - bhbs +- BrianT1414 - brockross - chaance - chasinhues diff --git a/docs/api.md b/docs/api.md index f01d1144f0..a55824b907 100644 --- a/docs/api.md +++ b/docs/api.md @@ -646,6 +646,7 @@ If you're using TypeScript, we recommend the parent component provide a custom h ```tsx filename=src/routes/dashboard.tsx lines=[12,17-19] import * as React from "react"; import type { User } from "./types"; +import { Outlet, useOutletContext } from "react-router-dom"; type ContextType = { user: User | null };