@antadesign/anta
    Preparing search index...

    Function lengthStyleUnreviewed

    • Adds a CSS length to an inline custom property. Numbers become pixels; a non-empty string is used verbatim. Returns base unchanged when absent.

      Parameters

      • length: number | string | undefined
      • varName: string
      • Optionalbase: CSSProperties

      Returns CSSProperties | undefined