def test_props_base_dict_conversion(props_class, props_kwargs, expected_dict):
    """Test that dict() handles different naming conventions correctly for both simple and nested props.

    Args:
        props_class: The PropsBase class to test.
        props_kwargs: The keyword arguments to pass to the class constructor.
        expected_dict: The expected dictionary output with camelCase keys.
    """
    props = props_class(**props_kwargs)
    result = props.dict()
    assert result == expected_dict
Test that dict() handles different naming conventions correctly for both simple and nested props.

    Args:
        props_class: The PropsBase class to test.
        props_kwargs: The keyword arguments to pass to the class constructor.
        expected_dict: The expected dictionary output with camelCase keys.
    
tests/units/components/test_props.py