React components to create activity and notification feeds
# with npm
npm install --save react-activity-feed
# with yarn
yarn add react-activity-feedTo find out how to use this library please look at:
- The example project
- The component reference docs
- This basic example if you just want to see some code:
importReact,{Component}from'react';import{StreamApp,StatusUpdateForm,FlatFeed}from'react-activity-feed';import'react-activity-feed/dist/index.es.css';exportdefaultclassAppextendsComponent{render(){return(<divstyle={{width: '600px',margin: '0 auto'}}><StreamAppapiKey="<YOUR_API_KEY>"appId="<YOUR_APP_ID>"token="<A_TOKEN_FOR_THE_CURRENT_USER>"><StatusUpdateForm/><FlatFeedfeedGroup="user"notify/></StreamApp></div>);}}BSD-3-Clause © Stream.io Inc.