mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
14 lines
289 B
TypeScript
14 lines
289 B
TypeScript
|
|
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>
|
||
|
|
)
|
||
|
|
}
|