Skip to content

Commit

Permalink
feat: add Element as a type for title on InfoBox
Browse files Browse the repository at this point in the history
  • Loading branch information
kkirasich committed Jun 6, 2023
1 parent 99f9992 commit 0e2d634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InfoBox/InfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import classnames from 'classnames';
import React, { ReactNode } from 'react';
import Icon from '../Icon/Icon';

interface InfoBoxProps extends Omit<React.HTMLProps<HTMLDivElement>, 'className'> {
interface InfoBoxProps extends Omit<React.HTMLProps<HTMLDivElement>, 'className' | 'title'> {
children?: ReactNode;
className?: string;
color?: string;
icon?: string;
title?: string;
title?: string | Element;
vertical?: boolean;
}

Expand Down

0 comments on commit 0e2d634

Please sign in to comment.