MCPcopy Create free account
hub / github.com/adobe/react-spectrum / pxToRem

Function pxToRem

packages/@react-spectrum/s2/src/progress-utils.tsx:13–13  ·  view source on GitHub ↗
(px: number)

Source from the content-addressed store, hash-verified

11 */
12
13export const pxToRem = (px: number): string => px / 16 + 'rem';

Callers 1

ProgressCircle.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected