diff --git a/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss b/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss new file mode 100644 index 00000000..d356ef14 --- /dev/null +++ b/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss @@ -0,0 +1,20 @@ +@import "@Themes/constants.scss"; + +.root { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: var(--spacing-3, 24px); + gap: var(--spacing-lg, 24px); + + border-radius: var(--radius-minimal, 8px); + background: var(--primary-weak-higlight, #e5eefa); + + text-align: center; + + svg { + width: 32px; + stroke: var(--primary-weak-contrast); + } +} diff --git a/src/front/Components/DesignSystem/EmptyAlert/index.tsx b/src/front/Components/DesignSystem/EmptyAlert/index.tsx new file mode 100644 index 00000000..878db597 --- /dev/null +++ b/src/front/Components/DesignSystem/EmptyAlert/index.tsx @@ -0,0 +1,28 @@ +import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography"; +import React from "react"; + +import classes from "./classes.module.scss"; + +type IProps = { + icon: React.ReactNode; + title: string; + description: string; + footer?: React.ReactNode; +}; + +export default function EmptyAlert(props: IProps) { + const { icon, title, description, footer } = props; + + return ( +