UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

15 lines (12 loc) 279 B
'use strict'; 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 ''; }