source: imaps-frontend/node_modules/react-universal-interface/lib/index.d.ts@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 464 bytes
Line 
1/// <reference types="react" />
2import render from './render';
3import createEnhancer from './createEnhancer';
4import hookToRenderProp from './hookToRenderProp';
5export interface UniversalProps<Data> {
6 children?: ((data: Data) => React.ReactNode) | React.ReactNode;
7 render?: (data: Data) => React.ReactNode;
8 comp?: React.ComponentType<Data & any>;
9 component?: React.ComponentType<Data & any>;
10}
11export { render, createEnhancer, hookToRenderProp, };
Note: See TracBrowser for help on using the repository browser.