panelText
import { panelText } from 'pixi-silk/ui/panel';
function panelText(theme: PanelTheme, options?: PanelTextOptions): SilkText;
A new SilkText label in the theme’s font, size and text colour.
Parameters#
| Parameter | Type |
|---|---|
theme | PanelTheme |
options | PanelTextOptions |