feat(react/settings): port override theme fonts

This commit is contained in:
Elian Doran
2025-08-14 18:26:22 +03:00
parent ba6a1ec584
commit 83e1512b59
5 changed files with 27 additions and 44 deletions

View File

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