Get the component for the table. Args: data: The data var. Returns: The component.
(cls, data: Var)
| 4850 | |
| 4851 | @classmethod |
| 4852 | def get_component(cls, data: Var) -> rx.Component: |
| 4853 | """Get the component for the table. |
| 4854 | |
| 4855 | Args: |
| 4856 | data: The data var. |
| 4857 | |
| 4858 | Returns: |
| 4859 | The component. |
| 4860 | """ |
| 4861 | cls._data = data |
| 4862 | cls.computed_vars["data"].add_dependency(cls, data) |
| 4863 | return rx.foreach(data, lambda d: rx.text(d.to_string())) |
| 4864 | |
| 4865 | |
| 4866 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected