dist/material-ui-pickers.umd.js
// We only handle the first word.
We only handle the first word.
We only handle the first word .
function capitalize(string) {
    {
      if (typeof string !== 'string') {
        throw new Error('Material-UI: capitalize(string) expects a string argument.');
      }
    }
    return string.charAt(0).toUpperCase() + string.slice(1);
  }
function capitalize ( string ) { { if ( typeof string !== 'string' ) { throw new Error ( 'Material-UI: capitalize(string) expects a string argument.' ) ; } } return string . charAt ( 0 ) . toUpperCase ( ) + string . slice ( 1 ) ; }
We only handle the first word.
We only handle the first word .