@types/react-native-dialog-input
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Installation

npm install --save @types/react-native-dialog-input

Summary

This package contains type definitions for react-native-dialog-input (https://github.com/joseestrella89/react-native-dialog-input#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-dialog-input.

index.d.ts

import * as React from "react";
import { StyleProp, TextInputProps, ViewStyle } from "react-native";

export interface DialogInputProps {
    isDialogVisible: boolean;
    title?: string;
    message?: string;
    hintInput?: string;
    initValueTextInput?: string;
    submitText?: string;
    cancelText?: string;
    placeholderTextColor?: string;
    animationType?: "none" | "slide" | "fade";
    textInputProps?: TextInputProps;
    modalStyle?: StyleProp<ViewStyle>;
    dialogStyle?: StyleProp<ViewStyle>;
    closeDialog: () => void;
    submitInput: (input: string) => void;
}

export default class DialogInput extends React.PureComponent<DialogInputProps> {}

Additional Details

Credits

These definitions were written by Jeswin Simon.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-dialog-input

Weekly Downloads

240

Version

1.0.1

License

MIT

Unpacked Size

4.21 kB

Total Files

5

Last publish

Collaborators

  • types