UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

54 lines (53 loc) 1.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _default = exports["default"] = { propValues: { possibleValues: [{ type: 'exactResponse', id: '1', value: '11' }, { type: 'exactResponse', id: '1', value: '1.23*10^4' }, { type: 'withinARange', id: '2', start: '1.23*10^4', end: '5.67*10^8' }, { type: 'withinARange', id: '2', start: '16', end: '18' }, { type: 'withinARange', id: '2', start: '2', end: '-2' }, { type: 'preciseResponse', id: '3', value: '19', precision: '1', precisionType: 'decimals' }, { type: 'marginOfError', id: '4', value: '-20', margin: '0.4', marginType: 'absolute' }] }, getComponentProps: function getComponentProps(props) { return { itemBody: "Numeric Show (".concat(JSON.stringify(props.possibleValues), ")"), scoringData: { value: [props.possibleValues] } }; } };