Files
super-app/components/reusable/content-widget/CommonContentWidget.tsx
Kshitij Pramod Ghongadi f95cdfe35d NTP-15148 | GI | Self Serve Plan Migration Flow (#14226)
Co-authored-by: Prajjaval Verma <prajjaval.verma@navi.com>
Co-authored-by: Balrambhai Sharma <sharma.balrambhai@navi.com>
2024-12-24 11:00:57 +00:00

22 lines
584 B
TypeScript

import { WidgetComponentProps } from "../../../App/common/interface/components";
import WidgetViewRenderer from "../../widget-view-renderer/WidgetViewRenderer";
const CommonContentWidgets = ({
screenData,
handleActions,
handleClick,
pointerEvents,
}: WidgetComponentProps) => {
return (
<WidgetViewRenderer
widgetList={screenData?.screenWidgets?.contentWidgets}
handleActions={handleActions}
screenState={screenData?.screenState}
handleClick={handleClick}
pointerEvents={pointerEvents}
/>
);
};
export default CommonContentWidgets;