@psychic-api/link
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@psychic-api/link", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -53,2 +53,14 @@ # Psychic Link | ||
### Open to a specific connector | ||
By default, the Psychic modal displays a list of connectors for the user to pick. If you want the modal to open to a specific connector, such as Notion, use the optional `connectorId` parameter in the `open` function: | ||
``` | ||
// Import the ConnectorId enum | ||
import { usePsychicLink, ConnectorId } from '@psychic-api/link'; | ||
// Pass in the connector that you want to display to the user | ||
open(accountId, ConnectorId.Notion); | ||
``` | ||
## Troubleshooting | ||
@@ -55,0 +67,0 @@ For assistance, join the Psychic community Slack [here](https://join.slack.com/t/psychicapi/shared_invite/zt-1ty1wz6w0-8jkmdvBpM5kj_Fh30EiCcg) |
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
26525
72
1