code: def table_columns(names, **extra_props):
      return [
          dict(
              id="c{}".format(i),
              name=n,
              renamable=True,
              hideable=True,
              **extra_props,
          )
          for i, n in enumerate(names)
      ]
  
imports: from multiprocessing import Value
  import pytest
  import time
  from selenium.webdriver.common.keys import Keys
  import dash
  from dash import Dash, Input, Output, State, MATCH, dcc, html, dash_table
  from dash_test_components import MyPersistedComponent
  from dash_test_components import MyPersistedComponentNested
label_desc: Use image node_id 2 for calling a global function with example usage: table_columns(names) and returns: unknown