@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.