def METHOD_NAME(self) -> RenderResult:
    """Render the content of the widget.
    Returns:
        The content to render for the widget.
    """
    button = self._button
    label = self._label.copy()
    label.stylize(self.get_component_rich_style("toggle--label", partial=True))
    spacer = " " if label else ""
    return Text.assemble(
        *(
            (button, spacer, label)
            if self._button_first
            else (label, spacer, button)
        ),
        no_wrap=True,
        overflow="ellipsis",
    )