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

Function variableWidth

perf/drivers.mjs:282–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 atTop
281});
282const variableWidth = width =>
283 condition('#variable-list', {style: {property: 'width', value: `${width}px`}});
284
285// `labels` is a pixel width, or 'fit' to share the flexible width equally with the
286// review column, so container resizes rewrap labels and change row heights.

Callers 1

drivers.mjsFile · 0.85

Calls 1

conditionFunction · 0.85

Tested by

no test coverage detected