UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

13 lines (11 loc) 264 B
Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = getPhrase; function getPhrase(phrase, args) { if (typeof phrase === 'string') return phrase; if (typeof phrase === 'function') { return phrase(args); } return ''; }