0.0.18 • Published 2 years ago

react-linkedin-autofill v0.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

React LinkedIn Auto fill

A Linked In Auto fill Component for React

Storybook

Install

npm install react-linkedin-autofill

or

yarn add react-linkedin-autofill

How to use

Include linkedIn autofill javascript library in your page

<script src="https://www.linkedin.com/autofill/js/autofill.js" async="async">{``}</script>
import React from 'react';
import ReactDOM from 'react-dom';

import LinkedInAutofill from 'react-linkedin-autofill';

ReactDOM.render(
  <LinkedInAutofill
    onChangeCallback={(fieldId, value)}
  />,
  document.getElementById('linkedInAutofillButton')
);

onChangeCallback callback

When a field is filled by linkedIn, this callback will gets triggered whith the fieldId and value.

Props

paramsvaluedefault valuedescription
onChangeCallbackfunctionREQUIRED

List of field IDs in the callback function | field id | |:-----------:| | firstName | | lastName | | email | | phone | | company | | country | | state | | zipCode | | jobTitle |

Checkout my other login: React LinkedIn Auto fill

Follow me on Twitter: @sanjitbauli

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago