-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46ad082
commit 2951a91
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
This is a React SDK for the [OpenSecret](https://opensecret.cloud) platform. | ||
|
||
🚧 We're currently in preview mode, please contact us at [email protected] for the preview URL and getting started info 🚧 | ||
|
||
## Installation | ||
|
||
```bash | ||
|
@@ -17,7 +19,7 @@ import { OpenSecretProvider } from "@opensecret/react"; | |
|
||
function App() { | ||
return ( | ||
<OpenSecretProvider apiUrl="https://preview-enclave.opensecret.cloud"> | ||
<OpenSecretProvider apiUrl="{URL}"> | ||
<App /> | ||
</OpenSecretProvider> | ||
); | ||
|
@@ -53,7 +55,7 @@ function App() { | |
The `OpenSecretProvider` component is the main entry point for the SDK. It requires a single prop, `apiUrl`, which should be set to the URL of your OpenSecret backend. | ||
|
||
```tsx | ||
<OpenSecretProvider apiUrl="https://preview-enclave.opensecret.cloud"> | ||
<OpenSecretProvider apiUrl="{URL}"> | ||
<App /> | ||
</OpenSecretProvider> | ||
``` | ||
|