Allow JSX.Element in content
This commit is contained in:
parent
60334e3c55
commit
14cff0a001
|
@ -11,7 +11,7 @@ import './cards.scss';
|
|||
type Card = {
|
||||
key: string;
|
||||
title: string;
|
||||
content: string;
|
||||
content: string | JSX.Element;
|
||||
before: JSX.Element;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue