( priority: ColumnPriority, )
| 82 | } |
| 83 | |
| 84 | function getResponsiveStyle( |
| 85 | priority: ColumnPriority, |
| 86 | ): React.CSSProperties | undefined { |
| 87 | if (priority === 1) { |
| 88 | return undefined; |
| 89 | } |
| 90 | |
| 91 | const minWidth = (priority - 1) * 100 + 100; |
| 92 | return { |
| 93 | // Use CSS custom property for container query |
| 94 | // Will be handled by inline style with container query |
| 95 | } as React.CSSProperties; |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Generates container query class based on custom min-width. |
nothing calls this directly
no outgoing calls
no test coverage detected