feat(org-chart): support standalone React integration and update guides

This commit is contained in:
shkim4 committed 2026-10-13 16:03:05 +09:00
1 parent 5acaf8a295
commit b637f86631
19 files changed
+1455 -64

No files matched your search

@@ -0,0 +1,14 @@
"use client";
import { OrgChart as CoreOrgChart } from './OrgChart.js';
import HMEmployeeDialog from './HMEmployeeDialog.js';
import type { OrgChartProps } from './types.js';
/** HM integration is explicit at the import and popup setting boundaries. */
export function OrgChart(props: OrgChartProps) {
return <CoreOrgChart {...props} employeePopupAdapter={props.employeePopupAdapter ?? HMEmployeeDialog} />;
}
export { HMEmployeeDialog };
export type { OrgChartProps, OrgChartEmployeeSelection, OrgChartEmployeePopupProps } from './types.js';
export type * from '@hm-design/org-chart';