Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

react-native-formik

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-formik - npm Package Compare versions

Comparing version
1.7.0
to
1.7.1
+4
-0
index.d.ts

@@ -79,2 +79,6 @@ import * as React from 'react';

export function handleTextInput<Props>(
WrappedComponent: React.ComponentType<Props>
): React.ComponentClass<Props & makeInputGreatAgainProps>;
export default makeInputGreatAgain;
+1
-1
{
"name": "react-native-formik",
"version": "1.7.0",
"version": "1.7.1",
"description": "Make the most of your React Native forms with Formik",

@@ -5,0 +5,0 @@ "main": "index.js",

import React from "react";
import PropTypes from "prop-types";
import { isArray } from "lodash";
import withFormik from "./withFormik";

@@ -13,3 +12,3 @@

const getInputs = children =>
(isArray(children) ? children : [children]).reduce((partialInputs, child) => {
React.Children.toArray(children).reduce((partialInputs, child) => {
if (child && child.props && child.props.children) {

@@ -16,0 +15,0 @@ return partialInputs.concat(getInputs(child.props.children));