**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 !)
el = div.removeChild(div.firstChild);
        } else if (props.is) {
          el = ownerDocument.createElement(type, props.is);
        } else {
          
          
          
          el = ownerDocument.createElement(type);
        }
      } else {
        el = ownerDocument.createElementNS(
          namespaceURI,
          type
        );
      }
      var isCustomComponentTag = isCustomComponent(this._tag, props);
      if (__DEV__ && isCustomComponentTag && !didWarnShadyDOM && el.shadyRoot) {
        var owner = this._currentElement._owner;
        var name = owner && owner.getName() || 'A component';
        warning(
          false,
          '%s is using shady DOM. Using shady DOM with React can ' +
          'cause things to break subtly.',
          name
        );
        didWarnShadyDOM = true;
      }
      ReactDOMComponentTree.precacheNode(this, el);
      this._flags |= Flags.hasCachedChildNodes;
      if (!this._hostParent) {