UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

47 lines (46 loc) 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _default = exports["default"] = { propValues: { scoringValues: [{ quuid1Value: 'George Washington', quuid2Value: 'Abraham Lincoln', quuid3Value: 'Barack Obama', test: 'All present' }, { quuid1Value: '', quuid2Value: '', quuid3Value: '', test: 'All absent' }] }, getComponentProps: function getComponentProps(props) { return { itemId: 'fakeItemId', itemBody: "Matching: Show (".concat(props.scoringValues.test, ")"), interactionData: { questions: [{ id: 'quuid1', itemBody: '1st President' }, { id: 'quuid2', itemBody: '16th President' }, { id: 'quuid3', itemBody: '44th President' }], answers: ['George Washington', 'Thomas Jefferson', 'Abraham Lincoln', 'Barack Obama'] }, scoringData: { value: { quuid1: props.scoringValues.quuid1Value, quuid2: props.scoringValues.quuid2Value, quuid3: props.scoringValues.quuid3Value } } }; } };