MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / Props

Function Props

pkg/vdom/vdom.go:267–273  ·  view source on GitHub ↗
(props any)

Source from the content-addressed store, hash-verified

265}
266
267func 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
275func PStyle(styleAttr string, propVal any) any {
276 return styleAttrWrapper{StyleAttr: styleAttr, Val: propVal}

Callers 1

DefineComponentFunction · 0.92

Calls 1

StructToMapFunction · 0.92

Tested by

no test coverage detected