SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function composeButtonContent

    • Compose a button's visible content from a glyph (icon / split-toggle checkmark) and an optional text label. The label renders only when non-empty and is wrapped in a themed Typography (see buttonLabelSx). With both present they sit side-by-side; otherwise whichever exists is returned (or undefined when neither does — the caller/downstream supplies any blank spacer).

      Parameters

      • glyph: ReactNode
      • label: ReactNode

      Returns ReactNode