code: def test_ldcp007_class_and_style_props(dash_dcc):
      lock = Lock()
  
      app = Dash(__name__)
  
      app.layout = html.Div(
          [
              html.Button("click", id="btn"),
              dcc.Loading(
                  id="loading",
                  className="spinner-class",
                  parent_className="parent-class",
                  style={"background-color": "rgb(255,192,203)"},
                  # rgb(240, 248, 255) = aliceblue
                  parent_style={
                      "border": "3px solid rgb(240, 248, 255)"
                  },
                  children=html.Div(id="loading-child"),
              ),
          ]
      )
  
      @app.callback(
          Output("loading-child", "children"),
          [Input("btn", "n_clicks")],
      )
      def updateDiv(n_clicks):
          if n_clicks is None:
              return
  
          with lock:
              return "sample text content"
  
      dash_dcc.start_server(app)
  
      dash_dcc.wait_for_style_to_equal(
          ".parent-class", "border-color", "rgb(240, 248, 255)"
      )
  
      with lock:
          button = dash_dcc.find_element("#btn")
          button.click()
          dash_dcc.wait_for_style_to_equal(
              ".spinner-class",
              "background-color",
              "rgba(255, 192, 203, 1)",
          )
  
      assert dash_dcc.get_logs() == []
  
file_path: dash/components/dash-core-components/tests/integration/loading/test_loading_component.py
imports: from multiprocessing import Lock
  from dash import Dash, Input, Output, dcc, html
  from dash.testing import wait
label_desc: Use image node_id 7 for calling a global function with example usage: test_ldcp007_class_and_style_props(dash_dcc) and returns: str