1.0.6 • Published 7 years ago
lead-list v1.0.6
LeadList
This component was bootstrapped with fusion-component-starter.
Install instructions:
npm install
Testing before publishing package
npm start
Publish local
- npm pack - This creates a tarball(in the applications root) that you can then reference locally in another app as though it's actually published.
- Just open the app you want to test in and run npm install path/to/tgz.
Publish
- Change name in package.json to something that you can actually publish to npm
- npm publish
Example usage:
'use strict';
import React from 'react';
import LeadList from '@poc/lead-list;
const ParentApp = (props) => {
return (
<div>
<LeadList
leads={props.leads}
loading={props.loading}
lostDealerLeadStatus={props.lostDealerLeadStatus}
refreshList={props.refreshList}
showFilters={props.showFilters}
toggleFilters={props.toggleFilters}
toggleIsHot={props.toggleIsHot}
updateSelected={props.updateSelected}
updateStatus={props.updateStatus}/>
</div>
);
};
export default ParentApp;