source: imaps-frontend/node_modules/react-universal-interface/src/index.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: 446 bytes
Line 
1import render from './render';
2import createEnhancer from './createEnhancer';
3import hookToRenderProp from './hookToRenderProp';
4
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}
11
12export {
13 render,
14 createEnhancer,
15 hookToRenderProp,
16};
Note: See TracBrowser for help on using the repository browser.