legends810/testingnew
0
1import { memo } from 'react';2 3export const genericMemo: <T extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>>(4 component: T,5 propsAreEqual?: (prevProps: React.ComponentProps<T>, nextProps: React.ComponentProps<T>) => boolean,6) => T & { displayName?: string } = memo;7 