Skip to content

Commit

Permalink
changed in readme, adding back original url for the chatbot and remov…
Browse files Browse the repository at this point in the history
…ing non used dependencies in package.json
  • Loading branch information
houmland committed Dec 11, 2023
1 parent 61aa61a commit ab1884e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ These are all the props you can pass to the `<Stack />` component.
| `width` | `number` | iframe width in rem (default: 35 rem; minimum is fixed to 15 rem)
| `fixed` | `boolean` | True if you want the chatbot to be fixed to the bottom of the screen, False if you want it to be relative to the page

`height` of the iframe is automatically set to 38.5 rem.

## Contributing

### Install dependencies for development
Expand Down
2 changes: 1 addition & 1 deletion example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function App() {
<>
<h1>Demo website</h1>
<Stack
project="https://www.stack-ai.com/embed/stack[testt]/c9a85553-64aa-45d1-923d-d125825c2b2b/656cf12c16dd780760afde33"
project="https://www.stack-ai.com/embed/46bf5b6a-9b4d-48f6-8a13-cdfc4fe58520/11da0c81-afe2-4ccd-b498-807bbde8e7f1/653fefcfcc37c0093d55e6a9"
width = {35}
fixed = {true}
/>
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.0.2",
"vite": "^4.5.1",
"react-merge-refs": "^2.1.1",
"react-stackai": "^0.1.6"
"vite": "^4.5.1"
}
}

0 comments on commit ab1884e

Please sign in to comment.