davidtheclark / react-aria-modal

A fully accessible React modal built according WAI-ARIA Authoring Practices
http://davidtheclark.github.io/react-aria-modal/demo/
MIT License
1.04k stars 96 forks source link

CreateClass and PropTypes refactor for React 15.5 #27

Closed AlmeroSteyn closed 7 years ago

AlmeroSteyn commented 7 years ago

With the release of React 15.5 the use of CreateClass instead of ES6 classes and referencing PropTypes from React itself are marked as deprecation warnings and this will be removed in React 16.

These changes re-establishes full compatibility with the latest React releases.