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

Function records

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

Source from the content-addressed store, hash-verified

38});
39
40const records = size => Array.from({length: size}, (_, i) => `item-${i}`);
41const recordLabel = id => `Record ${id.slice('item-'.length)}`;
42const ordered = (selector, values) =>
43 condition(selector, {orderedValues: {attribute: 'data-record', values}});

Callers 3

reorderedFunction · 0.85
filteredFunction · 0.85
drivers.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected