From 0e2d6342dce8286d823ef547273a198e7006545d Mon Sep 17 00:00:00 2001 From: Kaitlin Kinzer Date: Mon, 5 Jun 2023 17:07:13 -0700 Subject: [PATCH] feat: add Element as a type for title on InfoBox --- src/components/InfoBox/InfoBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InfoBox/InfoBox.tsx b/src/components/InfoBox/InfoBox.tsx index b9244a56c..9816c78df 100644 --- a/src/components/InfoBox/InfoBox.tsx +++ b/src/components/InfoBox/InfoBox.tsx @@ -2,12 +2,12 @@ import classnames from 'classnames'; import React, { ReactNode } from 'react'; import Icon from '../Icon/Icon'; -interface InfoBoxProps extends Omit, 'className'> { +interface InfoBoxProps extends Omit, 'className' | 'title'> { children?: ReactNode; className?: string; color?: string; icon?: string; - title?: string; + title?: string | Element; vertical?: boolean; }