def data_table_state4():
    """Get a data table state.

    Returns:
        The data table state class.
    """

    class DataTableState(BaseState):
        _data: list = []
        _columns: list[str] = ["col1", "col2"]

        @rx.var
        def data(self):
            return self._data

        @rx.var
        def columns(self) -> list:
            return self._columns

    return DataTableState
Get a data table state.

    Returns:
        The data table state class.
    
tests/units/components/datadisplay/conftest.py