UNPKG

react-define-form

Version:

React define form offers alternative typescript bindings for [react-final-form](https://github.com/final-form/react-final-form). It requires you to "define" a form type, specifying the type of the form data.

7 lines (6 loc) 239 B
/// <reference types="react" /> export default interface RenderableProps<T> { children?: ((props: T) => React.ReactNode) | React.ReactNode; component?: React.ComponentType<T> | string; render?: (props: T) => React.ReactNode; }