class_docstr: Button to log out a user from a Space.
code: def __init__(
      self,
      value: str = "Logout",
      *,
      every: float | None = None,
      variant: Literal["primary", "secondary", "stop"] = "secondary",
      size: Literal["sm", "lg"] | None = None,
      icon: str
      | None = "https://huggingface.co/front/assets/huggingface_logo-noborder.svg",
      # Link to logout page (which will delete the session cookie and redirect to landing page).
      link: str | None = "/logout",
      visible: bool = True,
      interactive: bool = True,
      elem_id: str | None = None,
      elem_classes: list[str] | str | None = None,
      render: bool = True,
      scale: int | None = 0,
      min_width: int | None = None,
  ):
      super().__init__(
          value,
          every=every,
          variant=variant,
          size=size,
          icon=icon,
          link=link,
          visible=visible,
          interactive=interactive,
          elem_id=elem_id,
          elem_classes=elem_classes,
          render=render,
          scale=scale,
          min_width=min_width,
      )
  
imports: from __future__ import annotations
  from typing import Literal
  from gradio_client.documentation import document, set_documentation_group
  from gradio.components import Button
label_desc: Use image node_id 1 to create a new LogoutButton object from inherited base classes: Button with example: obj = LogoutButton(value)