forked from Sage-Bionetworks/Synapse-React-Client
-
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
Showing
134 changed files
with
906 additions
and
883 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
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 |
---|---|---|
|
@@ -14,7 +14,11 @@ This project helps you integrate your app with the Synapse API backend. | |
|
||
Interested in contributing to this project? See [contributing](./CONTRIBUTING.md). | ||
|
||
## Installation with npm | ||
## Installation | ||
|
||
We provide multiple ways to add Synapse React Client to your project | ||
|
||
### NPM | ||
|
||
Run the following command:<br> | ||
`npm install synapse-react-client` | ||
|
@@ -28,7 +32,7 @@ If using Typescript then you'll need to create a file called "synapse-react-clie | |
declare module "synapse-react-client" | ||
``` | ||
|
||
## Installation without npm or yarn | ||
### Installation without npm or yarn | ||
|
||
To see an example index.html page with all the necessary imports view [here](./src/demo/SingleFileBuild/index.html) | ||
|
||
|
@@ -128,6 +132,12 @@ Note there are a number of CDNs required to finish this functionality- | |
<script src="https://unpkg.com/[email protected]/dist/markdown-it-br.min.js"></script> | ||
``` | ||
|
||
## Usage | ||
|
||
Virtually all components require a SynapseContext (exported....) | ||
|
||
Example: | ||
|
||
## Setting Endpoints | ||
|
||
### Configuring endpoint destinations for repo and portal | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.