(fontSize: number)
| 75 | }; |
| 76 | |
| 77 | const getDefaultStyle = (fontSize: number): Style => |
| 78 | arrayMap(DEFAULT_STYLE, (value) => value * fontSize) as unknown as Style; |
| 79 | |
| 80 | const getStyle = (style: CSSStyleDeclaration | undefined): Style => { |
| 81 | const fontSize = parseFloat(style?.fontSize ?? EMPTY_STRING); |