chore(react/settings): bring back style

This commit is contained in:
Elian Doran
2025-08-15 00:08:43 +03:00
parent a42d780724
commit 520effbbb7
5 changed files with 76 additions and 51 deletions

View File

@@ -0,0 +1,14 @@
import { ComponentChildren } from "preact";
interface AdmonitionProps {
type: "warning";
children: ComponentChildren;
}
export default function Admonition({ type, children }: AdmonitionProps) {
return (
<div className={`admonition ${type}`} role="alert">
{children}
</div>
)
}