platform-bible-react
    Preparing search index...

    Function useShrinkStepValue

    • Reads the shrink step published by the nearest toolbar root.

      The value is resolved at the position of the component that calls this. A component that renders the provider sits above it and will always read the default — so anything that needs the real step must be a child of the toolbar, not the thing that builds it.

      Returns number

      The current step, or SHRINK_STEP.WIDE when there is no provider.