Skip to content

Commit 03252ae

Browse files
committed
Fix ViewPropTypes exception.
1 parent 5beafa7 commit 03252ae

File tree

4 files changed

+93
-39
lines changed

4 files changed

+93
-39
lines changed

lib/BaseInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Component, createRef } from "react";
22
import PropTypes from "prop-types";
33

4-
import { Animated, Text, View, ViewPropTypes } from "react-native";
4+
import { Animated, Text } from "react-native";
55

66
export default class BaseInput extends Component {
77
static propTypes = {
88
label: PropTypes.string,
99
value: PropTypes.string,
1010
defaultValue: PropTypes.string,
11-
style: ViewPropTypes ? ViewPropTypes.style : View.propTypes?.style,
11+
style: PropTypes.any,
1212
inputStyle: Text.propTypes?.style,
1313
labelStyle: Text.propTypes?.style,
1414
easing: PropTypes.func,

package-lock.json

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-textinput-effects",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"description": "TextInput effects for react native",
55
"license": "MIT",
66
"keywords": [

yarn.lock

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)