From 49b2db417f7cbf8f9bb66a5a697aa924d0eca158 Mon Sep 17 00:00:00 2001 From: ashley zomo Date: Tue, 22 Mar 2022 18:46:43 -0500 Subject: [PATCH] comments (i will forget this) --- src/text.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/text.tsx b/src/text.tsx index f334720..8a5f5c3 100644 --- a/src/text.tsx +++ b/src/text.tsx @@ -142,7 +142,13 @@ interface Text3DArgs extends ComponentProps<'canvas'> { zoom?: number; scale?: number; + /** + * width or height or both, missing value will be calculated by the text size's aspect ratio + */ width?: number; + /** + * width or height or both, missing value will be calculated by the text size's aspect ratio + */ height?: number; }