platform-bible-react
    Preparing search index...

    Function useContentZoomTextProps

    • Experimental

      The props a component spreads onto the existing element that renders project text inline. Inside a ContentZoomTextProvider the props carry data-platform-content-zoom-root set to the provider's area ('' for the main area), plus data-platform-content-zoom-label when the provider names the area; outside one they are empty. Spread them onto the text element itself rather than adding a wrapper, and never onto pop-up content or an element that contains another marked element.

      Returns {
          "data-platform-content-zoom-label"?: string;
          "data-platform-content-zoom-root"?: string;
      }

      The marker (and label) attributes inside a provider; an empty object outside one This export is unstable and may change shape or disappear without notice