0.5.0 • Published 3 years ago

@rainway/react v0.5.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
3 years ago

@rainway/react

React components for the Rainway SDK Web Runtime.

Usage

Pass a RainwayStream as a prop to this Rainway component to render it!

return (
  <Rainway
    stream={currentStream} // Pass in a RainwayStream object...
    style={{ filter: "grayscale(1)" }} // ... and styles for the wrapper div
  >
    <p>Children are displayed as fallback when `stream` is undefined.</p>
  </Rainway>
);

For more information, see the Rainway tutorial.