React Wrapper
Installation
npm install make-traffic-integration-react-wrapper make-traffic-integration-coreSetup
import { TaskManagerApp } from 'make-traffic-integration-core';
import { TaskManagerProvider } from 'make-traffic-integration-react-wrapper';
const taskManager = new TaskManagerApp({
apiUrl: 'YOUR_API_URL',
appKey: 'YOUR_APP_KEY',
});TaskManagerProvider
const App = () => (
<TaskManagerProvider
taskManagerApp={taskManager}
userID={currentUser.id}
template={TaskTemplate}
/>
);Prop
Type
Description
Custom task template
Action
Description
Full example
Last updated