From 52bd64d4aea798efe2ed8b46d645ef96258c2063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alvarez?= Date: Mon, 27 Nov 2023 11:09:41 +0100 Subject: [PATCH] feat(packages/sui-react-web-vitals): update doc BREAKING CHANGES: pathname for allowed --- packages/sui-react-web-vitals/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sui-react-web-vitals/README.md b/packages/sui-react-web-vitals/README.md index a88eb1b7f..e5c25da29 100644 --- a/packages/sui-react-web-vitals/README.md +++ b/packages/sui-react-web-vitals/README.md @@ -139,16 +139,16 @@ export default function App() { } ``` -#### Allowed pathnames +#### Allowed routes -Use `pathnames` prop if you only want to track a set of pathnames +Use `allowed` prop if you only want to track a set of pathnames or route ids ```jsx import WebVitalsReporter from '@s-ui/react-web-vitals' export default function App() { return ( - +
)