source: imaps-frontend/node_modules/react-universal-interface/src/index.ts

main
Last change on this file 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
RevLine 
[d565449]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.