UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

16 lines (12 loc) 280 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 ''; }