Closed bdarcus closed 1 year ago
Add methods:
to_string for:
to_string
render:
render
Take a StyleTemplateComponent and a Reference and it's associated ProcHints, and return the correct string.
StyleTemplateComponent
Reference
ProcHints
For example, if the component is a StyleTemplateDate, use Date.to_string for the value of that date field.
StyleTemplateDate
Date.to_string
Return a vector of ProcTemplateComponent.
ProcTemplateComponent
Add methods:
to_string
for:render
:Take a
StyleTemplateComponent
and aReference
and it's associatedProcHints
, and return the correct string.For example, if the component is a
StyleTemplateDate
, useDate.to_string
for the value of that date field.Return a vector of
ProcTemplateComponent
.