Skip to content

Commit

Permalink
Merge pull request #1165 from appfolio/dudeAddTypeToInfoBox
Browse files Browse the repository at this point in the history
Allow InfoBox title to be an Element
  • Loading branch information
kkirasich authored Jun 6, 2023
2 parents 99f9992 + 0e2d634 commit fdcd4ff
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 fdcd4ff

Please sign in to comment.