react-jsbox
Advanced tools
Comparing version 0.0.44 to 0.0.45
{ | ||
"name": "react-jsbox", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "A Custom React Renderer for writing JSBox apps in React.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,3 +18,3 @@ import { useEffect, useState, useMemo } from 'react' | ||
const { text, width, font, lingSpacing } = params | ||
const sizeThatFits = useMemo(() => $text.sizeThatFits(params), [text, width, font, lingSpacing]) | ||
const sizeThatFits = useMemo($text.sizeThatFits(params), [text, width, font, lingSpacing]) | ||
useEffect(() => { | ||
@@ -21,0 +21,0 @@ const size = sizeThatFits(params) |
Sorry, the diff of this file is too big to display
101432