Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flive/form-with-redux-form

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flive/form-with-redux-form

This package exports Form from @flive/react-kit extended to be used with redux-form

  • 1.2.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

form-with-redux-form

This module exports Form fields and inputs from @flive/react-kit and extends them to handle redux-form.

Install

npm install @flive/form-with-redux-form

Usage

Unlike @flive/react-kit, inputs and fields are directly exported, they are not subcomponents of Form in this module.

import React from 'react';
import { Field } from 'redux-form';
import { TextField } from '@flive/form-with-redux-form';

const EmailField = props => (
  <Field
    component={TextField}
    label="Email"
    name="email"
  />
);

Available

Inputs

  • Input
  • TextInput
  • NumberInput
  • PasswordInput
  • TextareaInput
  • SelectInput
  • CheckboxInput
  • RadioInput

Fields

  • TextField
  • PasswordField
  • NumberField
  • TextareaField
  • SelectField
  • CheckboxField
  • CheckboxesField
  • RadiosField

Hocs

  • withReduxFormInput
  • withReduxFormField

Ref forwarding with inputRef

If you want to forward a ref to the input, we provide the prop inputRef.

import React from 'react';
import { Field } from 'redux-form';
import { TextareaInput } from '@flive/form-with-redux-form';

const ref = React.createRef();

const DescriptionField = props => (
  <Field
    inputRef={ref}
    component={TextareaInput}
    label="Description"
    name="description"
  />
);

License

This project is licensed under a custom license. See the LICENSE file for details.

FAQs

Package last updated on 04 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc