(value: string)
| 277 | } |
| 278 | |
| 279 | function parseBoxValues(value: string): [string, string, string, string] { |
| 280 | const parts = value.trim().split(/\s+/) |
| 281 | const [t, r = t, b = t, l = r] = parts |
| 282 | return [t, r, b, l] |
| 283 | } |
| 284 | |
| 285 | function getBorderWidth(style: StyleMap): string | null { |
| 286 | const sideWidths = BORDER_SIDES.map((side) => { |