Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
import {useSpectrumContextProps} from
'./useSpectrumContextProps'
;
32
33
const pxToRemDynamic = (px: number): string => px / 16 +
'rem'
;
34
export interface ProgressCircleStyleProps {
35
/**
36
* The size of the ProgressCircle.
Callers
1
ProgressCircle.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected