Installation
npm install --save @types/react-native-form
Summary
This package contains type definitions for react-native-form (https://github.com/julianocomg/react-native-form#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-form.
index.d.ts
import { Component } from "react";
import { ViewProps } from "react-native";
export interface FormProps extends ViewProps {
customFields?: {
[key: string]: {
callbackProp: string;
controlled: boolean;
valueProp: string;
};
} | undefined;
}
export default class Form extends Component<FormProps> {}
Additional Details
- Last updated: Mon, 12 Feb 2024 12:41:44 GMT
- Dependencies: @types/react, react-native
Credits
These definitions were written by Mark Nelissen.