This is a react component.
You will import it in your react app to display the policy plane.
git clone [email protected]:eqtylab/eqty-policy-plane.git
cd eqty-policy-plane
# Install dependencies
npm install
# Build the package
npm run build
# link the package, so you can import in other local react apps
npm link
In your react app
or use demo here: example-app
// import the component AND the styles
import { AgentPolicyPlaneApplication } from "eqty-agent-policy-plane";
import "eqty-agent-policy-plane/dist/styles.css";
const ReactComponentDemo = () => {
return (
<div
style={
{
// IMPORTANT: The AgentPolicyPlaneApplication will with 100% width and height of the parent container
}
}
>
<AgentPolicyPlaneApplication />
</div>
);
};