feat(react/settings): port database anonymization

This commit is contained in:
Elian Doran
2025-08-14 23:10:25 +03:00
parent 7e03774b8e
commit 16cd91eb02
6 changed files with 106 additions and 126 deletions

View File

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