How to use react-toggle with React redux-form?

Viewed 5102

Is it possible to use react-toggle with Redux form?

react-toggle renders a toggle like so:

<Toggle
  icons={false}
  onChange={this.handleToggleChange}
/>

Given a redux-form Field component like so:

              <Field
                name="email_newsletter"
                id="email_newsletter"
                component="input"
                type="checkbox"
              />

How can react-toggle update the value for the redux-form Field?

enter image description here

1 Answers
Related