From 18faefcc9fbe29729cb19eda9cd775f61f7979b7 Mon Sep 17 00:00:00 2001 From: chorobin Date: Sat, 24 Aug 2024 00:58:58 +0200 Subject: [PATCH] chore: add experimental tag --- packages/react-router/src/Matches.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-router/src/Matches.tsx b/packages/react-router/src/Matches.tsx index f222e1f476..0874e30d5e 100644 --- a/packages/react-router/src/Matches.tsx +++ b/packages/react-router/src/Matches.tsx @@ -106,6 +106,10 @@ export type IsMatch = IsMatchParse< TMatch extends any ? { match: TMatch; value: TMatch } : never > +/** + * Narrows matches based on a path + * @experimental + */ export const isMatch = ( match: TMatch, path: Constrain['path']>,