mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +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> | ||
|  |     ) | ||
|  | } |