(props any)
| 265 | } |
| 266 | |
| 267 | func Props(props any) map[string]any { |
| 268 | m, err := utilfn.StructToMap(props) |
| 269 | if err != nil { |
| 270 | return nil |
| 271 | } |
| 272 | return m |
| 273 | } |
| 274 | |
| 275 | func PStyle(styleAttr string, propVal any) any { |
| 276 | return styleAttrWrapper{StyleAttr: styleAttr, Val: propVal} |
no test coverage detected