message: add m + p utils to Details
diff: import React from 'react'
  import PropTypes from 'prop-types'
  import classnames from 'classnames'
  +import {mapWhitespaceProps} from './props'
  function getRenderer(children) {
  return typeof children === 'function' ? children : () => children
  @@ -21,11 +22,11 @@ export default class Details extends React.Component {
  }
  render() {
  - const {className, children, render = getRenderer(children), ...props} = this.props
  + const {className, children, render = getRenderer(children), ...rest} = mapWhitespaceProps(this.props)
  const {open} = this.state
  return (
  - <details {...props} className={classnames('details-reset', className)} open={open}>
  + <details {...rest} className={classnames('details-reset', className)} open={open}>
  {render({open, toggle: this.toggle})}
  </details>
  )
  