mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
feat(react/settings): port theme switch
This commit is contained in:
14
apps/client/src/widgets/react/Column.tsx
Normal file
14
apps/client/src/widgets/react/Column.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user