Derive Macros

Derive macro for using a composite template in a widget.