**report a *bug*?**

**What is the current behavior?**

onToggle prop attached to a details html element does not attach the event handler , instead shows a warning "Warning: Unknown prop `onToggle` on `<details>` tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in details (created by Details) ...

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/reactjs/69z2wepo/).**

No time right now

**What is the expected behavior?**

-

**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**

Latest

WorkAround:

Use onClick instead, (does not work fire event handler when details is opened with keyboard !)
'For more information, lookup documentation on `dangerouslySetInnerHTML`.'
    );
    warning(
      props.suppressContentEditableWarning ||
      !props.contentEditable ||
      props.children == null,
      'A component is `contentEditable` and contains `children` managed by ' +
      'React. It is now your responsibility to guarantee that none of ' +
      'those nodes are unexpectedly modified or duplicated. This is ' +
      'probably not intentional.'
    );
    warning(
      props.onFocusIn == null &&
      props.onFocusOut == null,
      'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' +
      'All React events are normalized to bubble, so onFocusIn and onFocusOut ' +
      'are not needed/supported by React.'
    );
  }
  invariant(
    props.style == null || typeof props.style === 'object',
    'The `style` prop expects a mapping from style properties to values, ' +
    'not a string. For example, style={{marginRight: spacing + \'em\'}} when ' +
    'using JSX.%s',
     getDeclarationErrorAddendum()
  );
}
if (__DEV__) {
  var validatePropertiesInDevelopment = function(type, props) {
    validateARIAProperties(type, props);