GetStream / React Activity Feed
Licence: bsd-3-clause
Stream React Activity Feed Components
Stars: ✭ 75
Programming Languages
javascript
184084 projects - #8 most used programming language
react-activity-feed
React components to create activity and notification feeds using Stream
You can sign up for a Stream account at https://getstream.io/get_started/.
Install
# with npm
npm install --save react-activity-feed
# with yarn
yarn add react-activity-feed
Usage
To 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:
import React, { Component } from 'react';
import { StreamApp, StatusUpdateForm, FlatFeed } from 'react-activity-feed';
import 'react-activity-feed/dist/index.es.css';
export default class App extends Component {
render() {
return (
<div style={{ width: '600px', margin: '0 auto' }}>
<StreamApp
apiKey="<YOUR_API_KEY>"
appId="<YOUR_APP_ID>"
token="<A_TOKEN_FOR_THE_CURRENT_USER>"
>
<StatusUpdateForm />
<FlatFeed feedGroup="user" notify />
</StreamApp>
</div>
);
}
}
Internationalisation (i18n)
Please refer to i18n docs - https://getstream.github.io/react-activity-feed/#internationalisation-i18n
License
BSD-3-Clause © Stream.io Inc.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].