MCPcopy Create free account
hub / github.com/dot-agent/nextpy / wrapper

Function wrapper

nextpy/frontend/components/component.py:1279–1282  ·  view source on GitHub ↗
(*children, **props)

Source from the content-addressed store, hash-verified

1277
1278 @wraps(component_fn)
1279 def wrapper(*children, **props) -> CustomComponent:
1280 # Remove the children from the props.
1281 props.pop("children", None)
1282 return CustomComponent(component_fn=component_fn, children=children, **props)
1283
1284 return wrapper
1285

Callers

nothing calls this directly

Calls 2

CustomComponentClass · 0.85
popMethod · 0.45

Tested by

no test coverage detected