code: def configure_layout(self):
      return frontend.StaticWebFrontend(
          Path(__file__).parent / "ui/dist"
      )
  
file_path: pytorch-lightning/src/lightning/app/cli/react-ui-template/example_app.py
imports: from pathlib import Path
  from lightning.app import LightningApp, LightningFlow, frontend
label_desc: Use image node_id 2 for calling the YourComponent obj's underlying member method code with example usage: obj.configure_layout() and returns: frontend