From f84ddd2b57e6625fa2533fa6637b75e6336202f3 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 17 Jan 2025 21:17:39 +0100 Subject: [PATCH] Fix types after merge --- packages/bbui/src/Icon/Icon.svelte | 8 ++++---- packages/bbui/src/Tooltip/AbsTooltip.svelte | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/bbui/src/Icon/Icon.svelte b/packages/bbui/src/Icon/Icon.svelte index 35f176035e..7438fab5fd 100644 --- a/packages/bbui/src/Icon/Icon.svelte +++ b/packages/bbui/src/Icon/Icon.svelte @@ -10,12 +10,12 @@ export let size = "M" export let hoverable: boolean = false export let disabled: boolean = false - export let color: string = undefined - export let hoverColor: string = undefined - export let tooltip: string = undefined + export let color: string | undefined = undefined + export let hoverColor: string | undefined = undefined + export let tooltip: string | undefined = undefined export let tooltipPosition = TooltipPosition.Bottom export let tooltipType = TooltipType.Default - export let tooltipColor: string = undefined + export let tooltipColor: string | undefined = undefined export let tooltipWrap: boolean = true export let newStyles: boolean = false diff --git a/packages/bbui/src/Tooltip/AbsTooltip.svelte b/packages/bbui/src/Tooltip/AbsTooltip.svelte index b85f4e1c03..a887db4102 100644 --- a/packages/bbui/src/Tooltip/AbsTooltip.svelte +++ b/packages/bbui/src/Tooltip/AbsTooltip.svelte @@ -23,7 +23,7 @@ export let type = TooltipType.Default export let text = "" export let fixed = false - export let color = null + export let color = "" export let noWrap = false let wrapper