Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
erhangundogan committed Jul 23, 2020
1 parent 354f9da commit 9548166
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ yarn add yodlee-react-hook
Usage
=====

Generate `accessToken` or `jwtToken` with your `clientId`, `secret` and `userName` on your backend and pass it down to your client below to open iframe.

```jsx
import { useYodlee } from 'yodlee-react-hook';

const YodleeComponent = ({ accessToken }) => {
const { ready, init } = useYodlee({
containerId: 'container-fastlink',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yodlee-react-hook",
"version": "0.1.1",
"version": "0.1.2",
"description": "Yodlee FastLink integration with React hooks",
"repository": "github:erhangundogan/yodlee-react-hook",
"keywords": [
Expand Down

0 comments on commit 9548166

Please sign in to comment.