typewriterText
The typewriterText() style-mixin factory.
import { typewriterText } from "@sdxc/ui/styles";Usage
Hides the unrevealed text of every Typewriter typing inside the host. A text shadow would
still show the hidden glyphs, so it goes too.
Signature
typewriterText<Node extends Element = Element>(): MixinDescriptor<
Node,
[styles: CSSStyles],
ElementProps
>Returns a css() mixin ready for the host element's mix prop.
Examples
<p mix={[typewriterText()]}>{text}</p>