def test_special_props(component_kwargs, exp_custom_attrs, exp_style):
    """Test that data_ and aria_ special props are correctly added to the component.

    Args:
        component_kwargs: The component kwargs.
        exp_custom_attrs: The expected custom attributes.
        exp_style: The expected style.
    """
    component = SpecialComponent.create(**component_kwargs)
    assert component.custom_attrs == exp_custom_attrs
    assert component.style == exp_style
    for prop in SpecialComponent.get_props():
        if prop in component_kwargs:
            assert getattr(component, prop)._var_value == component_kwargs[prop]
Test that data_ and aria_ special props are correctly added to the component.

    Args:
        component_kwargs: The component kwargs.
        exp_custom_attrs: The expected custom attributes.
        exp_style: The expected style.
    
tests/units/components/test_component.py