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

Function recordLabel

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

Source from the content-addressed store, hash-verified

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}});
44

Callers 2

verifyTableRowsFunction · 0.85
drivers.mjsFile · 0.85

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected