2
0

(js) Add "large" bubble button size and part attr

Closes #411
This commit is contained in:
Baptiste Arnaud
2023-03-31 08:45:42 +02:00
parent f895c6d72d
commit 3cfdb8179e
9 changed files with 38 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ declare global {
'typebot-bubble': React.DetailedHTMLProps<
React.HTMLAttributes<HTMLElement>,
HTMLElement
> & { class?: string }
>
}
}
}

View File

@@ -0,0 +1 @@

View File

@@ -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