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
- Last updated: Sat, 10 Feb 2024 11:06:53 GMT
- Dependencies: @types/react, react-native
Credits
These definitions were written by Jeswin Simon.