Mounts the dashboard into a host element:
const client = new ApprovalApiClient({ headers: { authorization: token } }); const dashboard = createApprovalDashboard(el, { client, components }); // later: dashboard.unmount();
Mounts the dashboard into a host element:
const client = new ApprovalApiClient({ headers: { authorization: token } }); const dashboard = createApprovalDashboard(el, { client, components }); // later: dashboard.unmount();