**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 !)
'menuitem': true,
}, omittedCloseTags);
var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/; 
var validatedTagCache = {};
var hasOwnProperty = {}.hasOwnProperty;
function validateDangerousTag(tag) {
  if (!hasOwnProperty.call(validatedTagCache, tag)) {
    invariant(VALID_TAG_REGEX.test(tag), 'Invalid tag: %s', tag);
    validatedTagCache[tag] = true;
  }
}
function isCustomComponent(tagName, props) {
  return tagName.indexOf('-') >= 0 || props.is != null;
}
var globalIdCounter = 1;
/**
 * Creates a new React class that is idempotent and capable of containing other
 * React components. It accepts event listeners and DOM properties that are
 * valid according to `DOMProperty`.
 *
 *  - Event listeners: `onClick`, `onMouseDown`, etc.
 *  - DOM properties: `className`, `name`, `title`, etc.
 *
 * The `style` property functions differently from the DOM API. It accepts an
 * object mapping of style properties to values.
 *
 * @constructor ReactDOMComponent
 * @extends ReactMultiChild
 */
function ReactDOMComponent(element) {