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

Function pxToRemDynamic

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

Source from the content-addressed store, hash-verified

31import {useSpectrumContextProps} from './useSpectrumContextProps';
32
33const pxToRemDynamic = (px: number): string => px / 16 + 'rem';
34export interface ProgressCircleStyleProps {
35 /**
36 * The size of the ProgressCircle.

Callers 1

ProgressCircle.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected