| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  | import type { ComponentChildren } from "preact"; | 
					
						
							| 
									
										
										
										
											2025-08-14 23:10:25 +03:00
										 |  |  | import { CSSProperties } from "preact/compat"; | 
					
						
							| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | interface ColumnProps { | 
					
						
							| 
									
										
										
										
											2025-08-14 18:26:22 +03:00
										 |  |  |     md?: number; | 
					
						
							| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  |     children: ComponentChildren; | 
					
						
							| 
									
										
										
										
											2025-08-14 18:26:22 +03:00
										 |  |  |     className?: string; | 
					
						
							| 
									
										
										
										
											2025-08-14 23:10:25 +03:00
										 |  |  |     style?: CSSProperties; | 
					
						
							| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-14 23:10:25 +03:00
										 |  |  | export default function Column({ md, children, className, style }: ColumnProps) { | 
					
						
							| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  |     return ( | 
					
						
							| 
									
										
										
										
											2025-08-14 23:10:25 +03:00
										 |  |  |         <div className={`col-md-${md ?? 6} ${className ?? ""}`} style={style}> | 
					
						
							| 
									
										
										
										
											2025-08-14 18:18:45 +03:00
										 |  |  |             {children} | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  | } |