Skip to content

Commit af35e74

Browse files
authored
Merge pull request #17 from FlowiseAI/bugfix/FullPageChat-Theme
Bugfix/Update Fullprops
2 parents c208c5c + b1838a5 commit af35e74

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

example/package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function App() {
6565
chatflowid={chatflowId}
6666
apiHost={apiHost}
6767
style={{ height: '600px', width: '100%' }}
68-
// @ts-ignore
6968
theme={{
7069
chatWindow: {
7170
welcomeMessage: 'Hello! How can I help you?',

src/FullPageChat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useEffect, useRef } from 'react'
2-
import type { BotProps } from 'flowise-embed'
2+
import type { FullProps } from 'flowise-embed'
33

4-
type Props = BotProps & {
4+
type Props = FullProps & {
55
style?: React.CSSProperties
66
className?: string
77
}

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,9 +2648,9 @@ flatted@^3.2.7:
26482648
integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==
26492649

26502650
flowise-embed@latest:
2651-
version "3.1.0"
2652-
resolved "https://registry.yarnpkg.com/flowise-embed/-/flowise-embed-3.1.0.tgz#c3ea74532db92a682a0a13312ce5043d2e1a01d7"
2653-
integrity sha512-znZuKTlnEp+YSXzDvCc1x8Z3F4+oKicoLCWokDn3+7DLMSRxXYqfVhr3yVZFfPE8M1akt6szzx57i71Iqksrlg==
2651+
version "3.1.1"
2652+
resolved "https://registry.yarnpkg.com/flowise-embed/-/flowise-embed-3.1.1.tgz#115dc96978bf040fad0227de864c4716115e45c9"
2653+
integrity sha512-zG8tHlpl0hJIjxo0AHTqUFbODnzX3pwpm+oiYpP9JO/cn1uJ26xJkeTleKCqgnU0k+xRcm+AJpZqleXaUzMSyw==
26542654
dependencies:
26552655
"@babel/core" "^7.22.1"
26562656
"@microsoft/fetch-event-source" "^2.0.1"

0 commit comments

Comments
 (0)