UNPKG

apply-with-linkedin-react

Version:

React Component for Apply With LinkedIn

34 lines (26 loc) 879 B
# 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> );