Skip to content

Commit 3be9e82

Browse files
committed
Updated to have a react node instead of a card title.
1 parent 590d1d9 commit 3be9e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Card/CardTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface CardTitleProps extends React.HTMLProps<HTMLDivElement> {
1212
/** Sets the base component to render. defaults to div */
1313
component?: keyof React.JSX.IntrinsicElements;
1414
/** @beta Subtitle of the card title */
15-
subtitle?: string;
15+
subtitle?: React.ReactNode;
1616
}
1717

1818
export const CardTitle: React.FunctionComponent<CardTitleProps> = ({

0 commit comments

Comments
 (0)