Skip to content

Commit

Permalink
Fix ViewPropTypes exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
halilb committed Aug 8, 2022
1 parent 5beafa7 commit 03252ae
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 39 deletions.
4 changes: 2 additions & 2 deletions lib/BaseInput.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Component, createRef } from "react";
import PropTypes from "prop-types";

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

export default class BaseInput extends Component {
static propTypes = {
label: PropTypes.string,
value: PropTypes.string,
defaultValue: PropTypes.string,
style: ViewPropTypes ? ViewPropTypes.style : View.propTypes?.style,
style: PropTypes.any,
inputStyle: Text.propTypes?.style,
labelStyle: Text.propTypes?.style,
easing: PropTypes.func,
Expand Down
90 changes: 90 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-textinput-effects",
"version": "0.6.2",
"version": "0.6.3",
"description": "TextInput effects for react native",
"license": "MIT",
"keywords": [
Expand Down
36 changes: 0 additions & 36 deletions yarn.lock

This file was deleted.

0 comments on commit 03252ae

Please sign in to comment.