editservicecontract-package
v0.0.7
Published
A React component for editing service contract
Downloads
582
Maintainers
Readme
International Editservicecontract Package
Description
The International Editservicecontract Package is a React component library designed to help manage service contract data, including assignment keys and policy details. This package provides an easy-to-integrate solution for handling assignment keys and processing policy information in your application.
Getting Started
Installation
You can install this package via npm by running the following npm command:
npm install editservicecontract-package
Executing program
How to run the program
Step-by-step bullets : To use this package for library open any component where you want to import this pakcage
For Ex: src/MyComponent.js
import React, { useState } from 'react';
import EditservicecontractPackage from 'editservicecontract-package'; // Use your package
const MyComponent = () => {
const [assignmentkey, setAssignmentkey] = useState(null);
const handleAssignmentKey = (key) => {
setAssignmentkey(key);
};
const handlePolicyData = (data) => {
console.log(data);
};
return (
<EditservicecontractPackage
assignmentkey={assignmentkey}
sendAssignmentkey={handleAssignmentKey}
sendPolicyData={handlePolicyData}
mashupUrl="https://your-mashup-url.com/script.js"
/>
);
};
export default MyComponent;
Each Prop Info Here
- assignmentkey is a input of type 'string' (ASSIGN-WORKLIST NAV-ESCAPP-WORK SCP-6181!GROUPSCREEN).
- sendAssignmentkey is a function which will return the new assignment key.
- sendPolicyData is a function which will return policy details that you return.
- mashupUrl Pega Mashup src url