UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

40 lines 684 B
export default { propValues: { itemBody: ['`x` + `y`', '\\(`x` + `y`\\)'], interactionData: [{ variables: [{ name: 'x', value: '2*10^0' }, { name: 'y', value: 1 }] }, { variables: [{ name: 'x', value: -1 }, { name: 'y', value: 1 }] }, { variables: [{ name: 'x', value: -1 }, { name: 'y', value: -1 }] }], userResponse: [{}, { value: 1 }, { value: -1 }] }, getComponentProps: function getComponentProps(props) { return { handleResponseUpdate: Function.prototype }; } };