Fork me on GitHub

Heya. Trying to import a React component, following this guide: ( ). Got it to work (yay!), but I'm having a little trouble figuring out how to import a different React component from NPM. Trying to import this: Soo, it takes a LOT more arguments, and I'm not totally sure how to translate them (should the parts in {curly braces} be Keywords?). What I'd like to do is import the example here ( ) and then just be able to call it. Buuut, I'm not sure how to do that with a component that's just defined in a local .js file instead of installed with NPM.


Got that react-webcam working in reagent. It's here - hope someone finds it useful!