import { UserInsightsProps } from './user-insights.props'; import { createRoot, Root } from 'react-dom/client'; import UserInsightsComponent from './user-insights.component'; import config from '../commons/config/config'; function UserInsightsPage(props: UserInsightsProps, container: Element) { const root: Root = createRoot(container); return root.render(); } export default UserInsightsPage;