Parameters
Whether to apply monospaced font styling. Defaults to
true if not specified.Makes text use a monospaced font or toggles monospaced styling.
.monospaced(isActive?: boolean): Component;
true if not specified.Text("Code text")
.monospaced()
Text("Maybe monospaced")
.monospaced(isCodeBlock)
Text("Regular font text")
.monospaced(false)