@fullstory/react-library
Advanced tools
Comparing version 0.1.19-alpha to 0.1.21-alpha
{ | ||
"name": "@fullstory/react-library", | ||
"version": "0.1.19-alpha", | ||
"version": "0.1.21-alpha", | ||
"description": "This component library assists in fullstory set up for react apps", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -1,2 +0,2 @@ | ||
# fullstory-react-library | ||
# Fullstory React Library | ||
@@ -7,3 +7,3 @@ This is a component library that encourages developers to build with components suped up with Fullstory functionality. | ||
Run `npm install @fullstory/fullstory-react-library` | ||
Run `npm install @fullstory/react-library` | ||
@@ -21,3 +21,3 @@ ## Page Names and Properties | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -44,3 +44,3 @@ const App = () => { | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -60,3 +60,3 @@ const App = () => { | ||
The meta configuration will capture all of the information in the meta tags. It will set configure the pageName from the title tag in the head. | ||
The meta configuration will capture all of the information in the meta tags. It will configure the pageName from the title tag in the head. | ||
@@ -68,3 +68,3 @@ **Implementation:** | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -85,3 +85,3 @@ const App = () => { | ||
The schema configuration will capture all of the information in the schemas on the page. It will set configure the pageName from the url path. | ||
The schema configuration will capture all of the information in the schemas on the page. It will configure the pageName from the url path. | ||
@@ -93,3 +93,3 @@ **Implementation:** | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -110,3 +110,3 @@ const App = () => { | ||
Multi Capture Configuration will defualt capture information from certain aspects of the page. | ||
Multi Capture Configuration will by defualt capture information from certain aspects of the page. | ||
@@ -134,3 +134,3 @@ **Implementation:** | ||
Additionally we can overried the default capture rules by add capture rules to certain pages. | ||
Additionally, we can overried the default capture rules by adding capture rules to specific pages. | ||
@@ -142,3 +142,3 @@ **Implementation:** | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -160,3 +160,3 @@ const App = () => { | ||
If you would like FullStory to capture custom pagenames and properties we can use the hook `useFSNavigate()`. The page name will the set to your custom pagename and the custom properties will be added to the properties captured by the default configuration or page configuration rules. | ||
If you would like FullStory to capture custom pagenames and properties we can use the hook `useFSNavigate()`. The page name will be set to your custom pagename and the custom properties will be added to the properties captured by the default configuration or page configuration rules. | ||
@@ -166,3 +166,3 @@ **Implementation:** | ||
``` | ||
import { FullStoryProvider } from "@fullstory/fullstory-react-library"; | ||
import { FullStoryProvider } from "@fullstory/react-library"; | ||
@@ -183,3 +183,3 @@ const App = () => { | ||
``` | ||
import { useFSNavigate } from "@fullstory/fullstory-react-library"; | ||
import { useFSNavigate } from "@fullstory/react-library"; | ||
@@ -186,0 +186,0 @@ const Button = (props) => { |
35563