UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

17 lines (16 loc) 394 B
import t from '@instructure/quiz-i18n/format-message'; export function numericMessage(type) { return t('{type} must be a number', { type: type }); } export function presenceMessage(type) { return t('{type} cannot be blank', { type: type }); } export function noDuplicatesMessage(type) { return t('{type} cannot be duplicated', { type: type }); }