UNPKG

@gechiui/compose

Version:
11 lines 377 B
/** * External dependencies */ import type { ComponentType } from 'react'; /** * Given a component returns the enhanced component augmented with a component * only re-rendering when its props/state change */ declare const pure: <InnerProps extends {}>(Inner: ComponentType<InnerProps>) => ComponentType<InnerProps>; export default pure; //# sourceMappingURL=index.d.ts.map