Warning Component Reference

Table of Contents


Introduction

Syntax

tml`<Warning>text to show in a warning color</>`

The Warning component creates a <span> containing the component children. The span is styled to display the content with --main-text-warning-color.

Attributes

Children

All children are accepted as the content of the <span>.

DOM element properties