feat: add outline button and render text in canvas

This commit is contained in:
2026-02-19 08:19:44 +05:00
parent 833cc3d086
commit 48c7d8876a
4 changed files with 23 additions and 4 deletions
+2 -2
View File
@@ -31,8 +31,8 @@
{width}
{height}
fontSize={textConfigState.fontSize}
stroke={textConfigState.color}
fill="transparent"
stroke={textConfigState.outlined ? textConfigState.color : "transparent"}
fill={textConfigState.outlined ? "transparent" : textConfigState.color}
fontFamily={textConfigState.fontFamily}
align={textConfigState.align}
wrap="none"