2
0

🚸 Update onboarding bot

Closes #400
This commit is contained in:
Baptiste Arnaud
2023-07-25 09:12:53 +02:00
parent b17177f35f
commit 283c55c1a4
9 changed files with 55 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.1.7",
"version": "0.1.8",
"description": "Javascript library to display typebots on your website",
"type": "module",
"main": "dist/index.js",

View File

@@ -112,7 +112,7 @@ export const Popup = (props: PopupProps) => {
role="dialog"
aria-modal="true"
style={{
'z-index': 42424242,
'z-index': props.theme?.zIndex ?? 42424242,
}}
>
<style>{styles}</style>

View File

@@ -3,5 +3,6 @@ export type PopupParams = {
theme?: {
width?: string
backgroundColor?: string
zIndex?: number
}
}