diff --git a/components/InteractiveBlock/types.ts b/components/InteractiveBlock/types.ts index 8d4dbd6..36cae46 100644 --- a/components/InteractiveBlock/types.ts +++ b/components/InteractiveBlock/types.ts @@ -1,5 +1,5 @@ import type { HTMLProps } from 'react'; -import type { BadgeVariantValue } from '../Badge/types'; +import type { BadgeProps } from '../Badge/types'; type VariantOption = 'radio' | 'checkbox' | 'toggle'; @@ -9,8 +9,5 @@ export interface InteractiveBlockProps extends Omit, ' content?: string; variant?: VariantOption; disabled?: boolean; - badge?: { - text: string; - variant: BadgeVariantValue; - }; + badge?: BadgeProps; } diff --git a/components/Tooltip/style.scss b/components/Tooltip/style.scss index 9dc7c2c..7b59732 100644 --- a/components/Tooltip/style.scss +++ b/components/Tooltip/style.scss @@ -10,5 +10,6 @@ a { font: var(--t-tooltip); color: var(--fg-white); + white-space: pre-line; } }