The grid (rendering) ยท console.warn
An icon must be a name, a character, or element markup; got {type} at {key}.
Printed by The grid (rendering), prefixed [lattice], since 1.15.0.
Warnings reference › icon:type:*
- Identifier
icon:type:*- Raised by
- The grid (rendering)
- Since
- 1.15.0
What happened
The value in an icon slot was not a string, so it can be none of the three things an icon may be. The slot is left empty.
The fix
Pass a registered icon name, a single character, or the markup for an element.
Reference
Covered in full at the API reference.