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

Function my_component

tests/components/test_component.py:207–217  ·  view source on GitHub ↗

A test component function. Returns: A test component function.

()

Source from the content-addressed store, hash-verified

205
206@pytest.fixture
207def my_component():
208 """A test component function.
209
210 Returns:
211 A test component function.
212 """
213
214 def my_component(prop1: Var[str], prop2: Var[int]):
215 return Box.create(prop1, prop2)
216
217 return my_component
218
219
220def test_set_style_attrs(component1):

Callers 1

Calls 1

createMethod · 0.45

Tested by

no test coverage detected