@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.0.31",
|
||||
"version": "0.0.32",
|
||||
"description": "React library to display typebots on your website",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -9,7 +9,7 @@ declare global {
|
||||
'typebot-bubble': React.DetailedHTMLProps<
|
||||
React.HTMLAttributes<HTMLElement>,
|
||||
HTMLElement
|
||||
> & { class?: string }
|
||||
>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
packages/embeds/react/src/stories/assets/index.css
Normal file
1
packages/embeds/react/src/stories/assets/index.css
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
} from '@typebot.io/js'
|
||||
import { useState } from 'react'
|
||||
import { leadGenerationTypebot } from './assets/leadGenerationTypebot'
|
||||
import './assets/index.css'
|
||||
|
||||
export const Default = () => {
|
||||
const [name, setName] = useState('John')
|
||||
@@ -47,6 +48,7 @@ export const Default = () => {
|
||||
button: {
|
||||
backgroundColor: '#FF7537',
|
||||
iconColor: 'white',
|
||||
size: 'large',
|
||||
},
|
||||
}}
|
||||
isPreview
|
||||
|
||||
Reference in New Issue
Block a user