MCPcopy Create free account
hub / github.com/IvanAdmaers/react-roulette-pro / App

Function App

example/src/App.js:134–414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132};
133
134const App = () => {
135 const [settings, setSettings] = useState({
136 type: {
137 name: 'Type',
138 options: ['horizontal', 'vertical'],
139 value: 'horizontal',
140 },
141 design: {
142 name: 'Design',
143 options: ['Regular'],
144 value: 'Regular',
145 },
146 prizesWithText: {
147 name: 'Prizes with text',
148 options: [false, true],
149 value: false,
150 },
151 withoutAnimation: {
152 name: 'Without animation',
153 options: [false, true],
154 value: false,
155 },
156 hideCenterDelimiter: {
157 name: 'Hide center delimiter',
158 options: [false, true],
159 value: false,
160 forDesign: 'Regular',
161 },
162 // hideTopArrow: {
163 // name: 'Hide top arrow',
164 // options: [false, true],
165 // value: false,
166 // forDesign: 'GracefulLines',
167 // },
168 // hideSideArrows: {
169 // name: 'Hide side arrows',
170 // options: [false, true],
171 // value: false,
172 // forDesign: 'GracefulLines',
173 // },
174 // replaceBottomArrowWithTopArrow: {
175 // name: 'Replace bottom arrow with top arrow',
176 // options: [false, true],
177 // value: false,
178 // forDesign: 'GracefulLines',
179 // },
180 soundWhileSpinning: {
181 name: 'Sound while spinning',
182 options: [false, true],
183 value: false,
184 },
185 stopInCenter: {
186 name: 'Stop in the prize item center',
187 options: [false, true],
188 value: false,
189 },
190 spinningTime: {
191 name: 'Spinning time',

Callers

nothing calls this directly

Calls 5

reproductionArrayFunction · 0.85
prepareFunction · 0.85
getDesignOptionsFunction · 0.85
isArrayOfFunction · 0.85
getOptionsAsStringFunction · 0.85

Tested by

no test coverage detected