This commit is contained in:
Karol Wypchlo 2021-02-09 15:15:53 +01:00
parent 8806adf216
commit f775f48bd1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ const types = {
};
export default function Message({ type, title, items = [] }) {
const { color, icon } = types[type];
const { backgroundColor, titleColor, detailsColor, iconColor, icon } = types[type];
return (
<div className={`rounded-md ${backgroundColor} p-4`}>