Warning Component Referencetml`<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.
Standard properties
The Warning component accepts the standard attributes.
Standard <span> properties
The Warning component accepts the standard <span> attributes.
The <span> className is the user's className attribute, if any, plus warning and the current classSv value.
All children are accepted as the content of the <span>.
Warning Component will render a <span> containing the component children.<span> is styled with color: var(--main-text-warning-color).