( maxWidth: number | string | null | undefined, tableWidth: number )
| 48 | } |
| 49 | |
| 50 | export function getMaxWidth( |
| 51 | maxWidth: number | string | null | undefined, |
| 52 | tableWidth: number |
| 53 | ): number { |
| 54 | return maxWidth != null ? parseStaticWidth(maxWidth, tableWidth) : Number.MAX_SAFE_INTEGER; |
| 55 | } |
| 56 | |
| 57 | // cannot support FR units, we'd need to know everything else in the table to do that |
| 58 | export function getMinWidth(minWidth: number | string, tableWidth: number): number { |
no test coverage detected