1.0.1 • Published 1 year ago

apply-with-linkedin-react v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Apply With LinkedIn React Component

Easily add Apply With LinkedIn component to your react project. For More details check LinkedIn's official documentation https://learn.microsoft.com/en-us/linkedin/talent/apply-with-linkedin/apply-with-linkedin

Setup

Install package

npm i apply-with-linkedin-react

Import component

import {ApplyWithLinkedIn} from 'apply-with-linkedin-react';

Rendering component

  const handleApplyWithLinkedInResponse = (data) => {
    console.log('Apply With LinkedIn response:', data);
    // Handle the response here
  };

   return (
    <div className="App">
        <ApplyWithLinkedIn
          mode="BUTTON_DATA"
          apiKey="<LINKEDIN_API_KEY>"
          organizationId="<LINKEDIN_COMPANY_ID"
          jobCode="<JOB CODE>"
          callbackMethod={handleApplyWithLinkedInResponse}
        />
    </div>
  );