Open 1216892614 opened 5 days ago
<Ztext depth="1rem" direction="both" event="pointer" eventRotation="30deg" eventDirection="default" fade={false} layers={10} perspective="500px" style={{ fontSize: "4rem", }} > <span role="img" aria-label="emoji"> {text} </span> </Ztext>
I just use lib like this. But when text change, dom still display text before change.
remount your component, maybe use the key prop
I just use lib like this. But when text change, dom still display text before change.