Coder Social home page Coder Social logo

strogo / react-activity-feed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getstream/react-activity-feed

0.0 1.0 0.0 10.48 MB

Stream React Activity Feed Components

Home Page: https://getstream.io/react-activity-feed/

License: BSD 3-Clause "New" or "Revised" License

HTML 0.37% JavaScript 89.24% CSS 8.45% Shell 0.82% Python 0.79% C 0.02% C++ 0.02% C# 0.06% Erlang 0.05% Go 0.02% Java 0.06% PHP 0.04% Ruby 0.01% Rust 0.01% Scala 0.03%

react-activity-feed's Introduction

react-activity-feed

React components to create activity and notification feeds using Stream

NPM Build Status Component Reference

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:

  1. The example project
  2. The component reference docs
  3. 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.

react-activity-feed's People

Contributors

ferhatelmas avatar gcwokeup avatar jaapbakker88 avatar jeltef avatar mahboubii avatar oytuntez avatar tbarbugli avatar tschellenbach avatar vishalnarkhede avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.