feat(proj): init

This commit is contained in:
vl.arkhangelskii
2026-09-21 04:06:43 +03:00
commit c956b94983
1076 changed files with 50876 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
type Props = {
error?: string | null;
notice?: string | null;
};
export function Flash({ error = null, notice = null }: Props) {
if (!error && !notice) return null;
return (
<div className="flash" aria-live="polite">
{error ? <p className="flash__item flash__item--error">{error}</p> : null}
{notice ? <p className="flash__item flash__item--ok">{notice}</p> : null}
</div>
);
}