def test_create_custom_component(my_component):
    """Test that we can create a custom component.

    Args:
        my_component: A test custom component.
    """
    component = rx.memo(my_component)(prop1="test", prop2=1)
    assert component.tag == "MyComponent"
    assert component.get_props() == {"prop1", "prop2"}
    assert component.tag in CUSTOM_COMPONENTS
Test that we can create a custom component.

    Args:
        my_component: A test custom component.
    
tests/units/components/test_component.py