Teleforge API Reference - v0.1.0
    Preparing search index...

    Function TgCard

    • Renders a padded surface with Telegram-aware colors and selectable elevation presets.

      Parameters

      Returns DetailedReactHTMLElement<
          {
              style: {
                  background: string;
                  border: string;
                  borderRadius: string;
                  boxShadow: | "none"
                  | "0 18px 32px rgba(0, 0, 0, 0.12)"
                  | "0 8px 20px rgba(0, 0, 0, 0.08)";
                  color: string;
                  padding: "12px"
                  | "20px"
                  | "16px";
              };
          },
          HTMLElement,
      >