From f18ad2a687faa6c1f40974fed1d87675c82f9645 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Apr 2026 15:14:40 +0200 Subject: [PATCH] fix(onboarding): add missing info type to CalloutBox component --- .../src/scenes/onboarding/OnboardingDocsContentWrapper.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/scenes/onboarding/OnboardingDocsContentWrapper.tsx b/frontend/src/scenes/onboarding/OnboardingDocsContentWrapper.tsx index 12d5ec897ea8..a8608b09a346 100644 --- a/frontend/src/scenes/onboarding/OnboardingDocsContentWrapper.tsx +++ b/frontend/src/scenes/onboarding/OnboardingDocsContentWrapper.tsx @@ -24,7 +24,7 @@ export interface OnboardingComponentsContext { file?: string }> CalloutBox: React.ComponentType<{ - type: 'action' | 'fyi' | 'caution' + type: 'action' | 'fyi' | 'caution' | 'info' icon?: string title?: string children: ReactNode @@ -214,12 +214,12 @@ function CalloutBox({ title, children, }: { - type: 'action' | 'fyi' | 'caution' + type: 'action' | 'fyi' | 'caution' | 'info' icon?: string title?: string children: ReactNode }): JSX.Element { - const bannerType = type === 'caution' ? 'warning' : type === 'action' ? 'info' : 'info' + const bannerType = type === 'caution' ? 'warning' : 'info' return (