This package has been deprecated

Author message:

Please use our @rainway/react package for this functionality going forward.

rainway-react
TypeScript icon, indicating that this package has built-in type declarations

0.3.0-beta.1 • Public • Published

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.

/rainway-react/

    Package Sidebar

    Install

    npm i rainway-react

    Homepage

    rainway.com

    Weekly Downloads

    0

    Version

    0.3.0-beta.1

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    104 kB

    Total Files

    13

    Last publish

    Collaborators

    • andrewmd5
    • bengreenier