@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
27 lines (26 loc) • 646 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _default = exports["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
};
}
};