@dxos/react-ui
    Preparing search index...

    Function usePx

    • React hook that converts rem values to pixels and updates when the root font size changes.

      Parameters

      • rem: number

        The rem value to convert to pixels

      Returns number

      The current pixel value equivalent of the rem input