Skip to content

Commit

Permalink
Link to context provider pattern docs for AuthProvider story
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 14, 2021
1 parent 558d5b3 commit 4f95175
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/AuthProvider/AuthProvider.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export default function App(){
| `useToken` | The current access token. Will be `null` if there is no access token. | `String` |
| `useLoginSetter` | A function to set the token value. | `function` |

For an in depth explanation of this pattern, see [this GitHub comment](https://github.itap.purdue.edu/ECN/webqueue2/issues/15#issuecomment-341).

## Examples
### Use Login Data
```js
Expand Down

0 comments on commit 4f95175

Please sign in to comment.