src/components/themr.js
function defaultMapThemrProps(ownProps, theme) {
  const {
    composeTheme,   //eslint-disable-line no-unused-vars
    innerRef,
    themeNamespace, //eslint-disable-line no-unused-vars
    mapThemrProps,  //eslint-disable-line no-unused-vars
    ...rest
  } = ownProps

  return {
    ...rest,
    ref: innerRef,
    theme
  }
}
function defaultMapThemrProps(ownProps, theme) {
  const {
    composeTheme,   //eslint-disable-line no-unused-vars
    innerRef,
    themeNamespace, //eslint-disable-line no-unused-vars
    mapThemrProps,  //eslint-disable-line no-unused-vars
    ...rest
  } = ownProps

  return {
    ...rest,
    ref: innerRef,
    theme
  }
}
function defaultMapThemrProps ( ownProps , theme ) { const { composeTheme , //eslint-disable-line no-unused-vars innerRef , themeNamespace , //eslint-disable-line no-unused-vars mapThemrProps , //eslint-disable-line no-unused-vars ... rest } = ownProps return { ... rest , ref : innerRef , theme } }
Maps props and theme to an object that will be used to pass down props to the
decorated component.

@param {Object} ownProps - All props given to the decorated component
@param {Object} theme - Calculated then that should be passed down
@returns {Object} - Props that will be passed down to the decorated component
Maps props and theme to an object that will be used to pass down props to the decorated component .