DefinitelyTyped/types/react/test
Sean Scally 2053e1cb8c Add new RenderProps-style Context from React 16.3 (#24509)
* Add new RenderProps-style Context from React 16.3

React 16.3 has a new recommended API for Context, with new Context, Provider, and Consumer typings.

* Add overload for createContext() to be called with no arguments

* Fix syntax

* Refactor out Props for Consumer & Provider
2018-04-16 13:37:41 +01:00
..
cssProperties.tsx
index.ts props in cloneElement should be Partial<P> & Attributes instead of workaround (#24641) 2018-04-10 10:44:49 -07:00
tsx.tsx Add new RenderProps-style Context from React 16.3 (#24509) 2018-04-16 13:37:41 +01:00