()
| 194 | } |
| 195 | |
| 196 | getDimensions(): ClientRect | DOMRect | { width: 0; height: 0 } { |
| 197 | if (this.wordBox == null) { |
| 198 | return { |
| 199 | width: 0, |
| 200 | height: 0, |
| 201 | }; |
| 202 | } |
| 203 | |
| 204 | return this.wordBox.getBoundingClientRect(); |
| 205 | } |
| 206 | |
| 207 | wrapperStyles = cxs({ |
| 208 | ...(this.props.mask && { overflow: "hidden" }), |