import TimepickerLocale from 'rc-time-picker/lib/locale/en_US'; import assign from 'object-assign'; const locale = assign({}, { placeholder: 'Select a time', }, TimepickerLocale); export default locale;