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; }