@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
21 lines • 516 B
JavaScript
export default {
propValues: {
disabled: [false, true],
distractors: [[], ['Foo', 'Bar']],
errors: [[], [{
text: 'This is an error',
type: 'error'
}]]
},
getComponentProps: function getComponentProps(_ref) {
var errors = _ref.errors;
return {
createNewDistractor: Function.prototype,
distractorErrors: function distractorErrors() {
return errors;
},
editDistractor: Function.prototype,
removeDistractor: Function.prototype
};
}
};