Skip to content

Commit d5819a0

Browse files
committed
remove default for title
1 parent 48c259a commit d5819a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/VapiWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ const VapiWidget: React.FC<VapiWidgetProps> = ({
3939
buttonAccentColor, // deprecated
4040
// Text labels
4141
title,
42-
mainLabel = 'Talk with AI', // deprecated
42+
mainLabel, // deprecated
4343
startButtonText,
4444
endButtonText,
45-
ctaTitle = 'Talk with AI',
45+
ctaTitle,
4646
ctaSubtitle,
4747
// Empty messages
4848
voiceEmptyMessage,

test-widget-embed.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>VapiWidget Embed Test</h1>
2020
data-theme="light"
2121
data-position="bottom-right"
2222
data-size="compact"
23-
data-main-label="Talk with AI"
23+
data-main-label="Main Label"
2424
data-start-button-text="Start"
2525
data-end-button-text="End Call"
2626
></div>
@@ -44,6 +44,7 @@ <h1>VapiWidget Embed Test</h1>
4444
size="full"
4545
position="bottom-left"
4646
title="Vapi AI"
47+
main-label="Main Label"
4748
cta-title="CTA Title"
4849
cta-subtitle="CTA Subtitle"
4950
start-button-text="Call"

0 commit comments

Comments
 (0)