-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated embedded-catalog component readme #318
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,7 +1,7 @@ | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Embedded Catalog of Providers (React) | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
It is a React component aimed to be used in any of your pages so end-users can connect their 3rd parties in 1-click ! | ||||||||||||||||||||||||||||||||||||||||
It is a React component aimed to be used in any of your pages so end-users can connect their 3rd parties in 1-click! | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Installation | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
Comment on lines
1
to
7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Consider capitalizing file types for consistency and clarity. - # Import the css file
+ # Import the CSS file |
||||||||||||||||||||||||||||||||||||||||
|
@@ -32,12 +32,15 @@ import PanoraProviderCard from "@panora/embedded-card-react"; | |||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Use the component | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
- The `optionalApiUrl` is an optional prop to use the component with the self-hosted version of Panora. | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
```bash | ||||||||||||||||||||||||||||||||||||||||
<PanoraProviderCard | ||||||||||||||||||||||||||||||||||||||||
name={"hubspot"} # name of the provider | ||||||||||||||||||||||||||||||||||||||||
projectId={"c9a1b1f8-466d-442d-a95e-11cdd00baf49"} # the project id tied to your organization | ||||||||||||||||||||||||||||||||||||||||
returnUrl={"https://acme.inc"} # the url you want to redirect users to after the connection flow is successful | ||||||||||||||||||||||||||||||||||||||||
linkedUserId={"b860d6c1-28f9-485c-86cd-fb09e60f10a2"} # the linked id of the user if already created in Panora system or user's info in your system | ||||||||||||||||||||||||||||||||||||||||
name={"hubspot"} // name of the provider | ||||||||||||||||||||||||||||||||||||||||
projectId={"c9a1b1f8-466d-442d-a95e-11cdd00baf49"} // the project id tied to your organization | ||||||||||||||||||||||||||||||||||||||||
returnUrl={"https://acme.inc"} // the url you want to redirect users to after the connection flow is successful | ||||||||||||||||||||||||||||||||||||||||
linkedUserId={"b860d6c1-28f9-485c-86cd-fb09e60f10a2"} // the linked id of the user if already created in Panora system or user's info in your system | ||||||||||||||||||||||||||||||||||||||||
optionalApiUrl={"http://localhost:3000"} // Only add this prop to use the component with a self-hosted version of Panora. Without this prop, the component uses the cloud version of Panora. | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
+35
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the code snippet, there's an unnecessary space before the closing parenthesis of the - />
+ /> Note: This change is purely stylistic and does not impact functionality. Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||
``` | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The preposition "in" might be less appropriate here. Consider using "on" for better readability.
Committable suggestion