I want to create the equivalent of this (sudo code):
<div padding="4px">
<p>My Text</p>
</div>
With React Konva elements. I know how to start, using Group, Rect, and Text, but I can't figure out how to do the padding. Hope someone can help! Thanks!!
EDIT: This is what I am trying to build (the green background with 2px padding around the text).