ComponentValue holds exactly one component type.
| 60 | |
| 61 | // ComponentValue holds exactly one component type. |
| 62 | type ComponentValue struct { |
| 63 | Text *TextComp `json:"Text,omitempty"` |
| 64 | Column *ColumnComp `json:"Column,omitempty"` |
| 65 | Card *CardComp `json:"Card,omitempty"` |
| 66 | Row *RowComp `json:"Row,omitempty"` |
| 67 | } |
| 68 | |
| 69 | // TextComp renders text. If DataKey is set, the value is read from the data model. |
| 70 | type TextComp struct { |
nothing calls this directly
no outgoing calls
no test coverage detected