feat(react/settings): port theme switch

This commit is contained in:
Elian Doran
2025-08-14 18:18:45 +03:00
parent 6685e583f2
commit ba6a1ec584
6 changed files with 103 additions and 67 deletions

View File

@@ -0,0 +1,14 @@
import type { ComponentChildren } from "preact";
interface ColumnProps {
md: number;
children: ComponentChildren;
}
export default function Column({ md, children }: ColumnProps) {
return (
<div className={`col-md-${md}`}>
{children}
</div>
)
}