ReactToAngular
ReactToAngular is a simple wrapper that you can place around any React component, to be used inside any Angular application.
Installation
npm install
Demo
npm run start
Usage
// Manage all your imported React components by mapping them to a selector.; const ReactComponents: Array<any> = selector: 'reactComponentSelector' component: SomeReactComponent ;
// Declare your imported React components in the module;; const reactToExport = ;ReactComponents; @
// Use the react component naturally as an Angular component. Just pass the [props] for React.