source: imaps-frontend/node_modules/react-universal-interface/lib/index.d.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: 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.