Skip to main content
.bold(isActive?: boolean): Component;

Parameters

isActive
boolean
default:"true"
Whether to apply bold styling. Defaults to true if not specified.

Support

Usage

Bold text

Text("Bold text")
    .bold()

Conditional bold

Text("Maybe bold")
    .bold(shouldBeBold)

Explicitly not bold

Text("Not bold text")
    .bold(false)