Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevo committed Nov 28, 2020
1 parent 7e7589d commit 0c438d8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# React FHIR Client

> React Hooks for fhirclient. Use fhirclient with an easy react hook.
> React Hooks for fhirclient. Use fhirclient with an easy React Hook.
## Getting started

1. Add your `FhirClientProvider` to your ReactDOM tree
1. Add your `FhirClientProvider` to your ReactDOM tree.

```js
ReactDOM.render(
Expand All @@ -17,7 +17,7 @@ ReactDOM.render(
);
```

2. Use `useFhirClient()` in your hooks
2. Use `useFhirClient()` in your hooks.

```js
import { useState, useEffect } from 'react';
Expand Down Expand Up @@ -47,4 +47,8 @@ function App() {
}

export default App;
```
```

3. Learn `fhirclient`.

This project uses [fhirclient](https://github.com/smart-on-fhir/client-js) under the hood. Check out it's [documentation](http://docs.smarthealthit.org/client-js/).

0 comments on commit 0c438d8

Please sign in to comment.