npm.io
2.1.6 • Published 2 years ago

@types/react-native-form

Licence
MIT
Version
2.1.6
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

Credits

These definitions were written by Mark Nelissen.