MCPcopy Create free account
hub / github.com/CrazyTim/spin-wheel / createWheel

Function createWheel

scripts/test.js:17–24  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

15});
16
17export function createWheel(props) {
18
19 const wheel = new Wheel(createContainer(), props);
20 addBlankItems(wheel, props?.numberOfItems);
21
22 return wheel;
23
24}
25
26function addBlankItems(wheel, numberOfItems) {
27

Callers 2

wheel.test.jsFile · 0.90
item.test.jsFile · 0.90

Calls 2

createContainerFunction · 0.85
addBlankItemsFunction · 0.85

Tested by

no test coverage detected