mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
feat(react/settings): port database anonymization
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user