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

Function durationValue

packages/@react-spectrum/s2/style/spectrum-theme.ts:577–577  ·  view source on GitHub ↗
(value: number | string)

Source from the content-addressed store, hash-verified

575};
576
577let durationValue = (value: number | string) => (typeof value === 'number' ? value + 'ms' : value);
578
579const fontWeightBase = {
580 normal: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected