Skip to content

Commit 8fc8941

Browse files
committed
Updated demo
1 parent bdcd998 commit 8fc8941

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

js/components/useDocsSearch/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@ return {
6363
## Demo
6464
[LIVE DEMO](https://sqlc-react-search.vercel.app/)
6565

66-
We provide a simple example that shows how to use the component in the [example folder](https://github.com/sqlitecloud/sqlc-components/tree/main/packages/sqlc-react-search/example).
66+
We provide a simple example that shows how to use the component in the `tester.js` [file](https://github.com/sqlitecloud/examples/blob/main/js/components/useDocsSearch/src/tester.js).
6767

6868
To run the example, download the repo and follow these steps:
69-
1. Run `npm install` at the root directory level.
70-
2. Run `npm run start` in the `./packages/sqlc-react-search/example` subdirectory.
69+
1. Navigate to the `/js/components/useDocsSearch` directory.
70+
2. Run `npm run install`.
71+
2. Run `npm run start`.
7172

7273
The example code will be executed at `localhost:1234`
7374

0 commit comments

Comments
 (0)