import { Color, GradientOrientation, Gravity, layoutConfig, LayoutSpec, stack, text, vlayout } from "doric" import * as PubTool from "../PubTool" /// 颜色渐变 export function ui() { return stack( [ vlayout([ text({ textAlignment: Gravity.Left, maxLines: 0, // layoutConfig: layoutConfig().mostWidth().fitHeight(), htmlText: `
To break
lines
in a
paragraph,
use the br tag.
This is a paragraph.
This is a paragraph.
Paragraph elements are defined by p tags.
Support setting background color and foreground color and underline.
An unordered list:
This is a paragraph.
To break
lines
in a
paragraph,
use the br tag.
This is a paragraph.
This is a paragraph.
Paragraph elements are defined by p tags.
Support setting background color and foreground color and underline.
An unordered list:
This is a paragraph.